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 computer code and data files described and made available on this web page are 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;