cvt_box_test, a C++ code which call ccvt_box() to creates a Centroidal Voronoi Tessellation of points in a 2D box, with points constrained to lie on the boundary of the region.
The information on this web page is distributed under the MIT license.
cvt_box, a C++ code which calculates a Constrained Centroidal Voronoi Tessellation (CCVT) constrained to a box region, with points projected to the boundary;