cvt_3d_sampling_test, a MATLAB code which calls cvt_3d_sampling(), which allows the user to carry out steps of Lloyd's iteration for approximating a Centroidal Voronoi Tessellation (CVT) in the unit cube.
The computer code and data files described and made available on this web page are distributed under the MIT license
cvt_3d_sampling, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the unit cube, under a uniform density, using sampling to estimate the Voronoi regions.