# cvt_circle_uniform

cvt_circle_uniform, a MATLAB code which demonstrates the computation of a centroidal Voronoi Tessellation (CVT) over a circular region, using a uniform density.

As you watch the CVT develop, for instance, you will be able to guess something about the angle of intersection between the boundaries of the region, and the edges of Voronoi regions.

### Usage:

CVT_CIRCLE_UNIFORM is a MATLAB function for computing a CVT in a circle with a uniform density. The spatial region is the unit circle.

[ p, t ] = cvt_circle_uniform ( n, sample_num, it_num, delaunay_display )
• N, the number of generators.
• SAMPLE_NUM, the number of sample points per generator.
• IT_NUM, the number of iterations to carry out.
• DELAUNAY_DISPLAY, 0 to hide, 1 to show the Delaunay triangulation.

### Languages:

CVT_CIRCLE_UNIFORM is available in a MATLAB version.

### Related Data and Programs:

cvt_box, a MATLAB code which constructs a modified cvt in which some points are forced to lie on the boundary.

ccvt_reflect, a MATLAB code which tries to construct a modified cvt in which some points are forced to lie on the boundary, using a reflection idea.

cvt_1d_lloyd, a MATLAB code which computes an n-point centroidal voronoi tessellation (cvt) within the interval [0,1], under a uniform density.

cvt_1d_nonuniform, a MATLAB code which allows the user to watch the evolution of a cvt computed over a 1d interval with a nonuniform density.

cvt_1d_sampling, a MATLAB code which computes an n-point centroidal voronoi tessellation (cvt) within the interval [0,1], under a uniform density, using sampling to estimate the voronoi regions.

cvt_2d_sampling, a MATLAB code which computes an n-point centroidal voronoi tessellation (cvt) within the unit square [0,1]x[0,1], under a uniform density, using sampling to estimate the voronoi regions.

cvt_circle_nonuniform, a MATLAB code which calculates a centroidal voronoi tessellation (cvt) over a circle with nonuniform density.

cvt_square_nonuniform, a MATLAB code which iteratively calculates a centroidal voronoi tessellation (cvt) over a square, with a nonuniform density.

cvtm_1d, a MATLAB code which estimates a mirror-periodic centroidal voronoi tessellation (cvtm) in the periodic interval [0,1], using a version of lloyd's iteration.

cvtp_1d, a MATLAB code which estimates a periodic centroidal voronoi tessellation (cvtp) in the periodic interval [0,1], using a version of lloyd's iteration.

discrete_pdf_sample_2d, a MATLAB code which demonstrates how to construct a probability density function (pdf) from a table of sample data, and then to use that pdf to create new samples.

florida_cvt_geo, MATLAB codes which explore the creation of a centroidal voronoi tessellation (cvt) of the state of florida, based solely on geometric considerations.

test_triangulation, a MATLAB code which defines the geometry of a number of sample regions.

voronoi_plot, a MATLAB code which plots the voronoi neighborhoods of points using l1, l2, linfinity or arbitrary lp norms;

### Source Code:

Last revised on 24 December 2018.