cvt_metric_test
cvt_metric_test,
a MATLAB program which
calls cvt_metric() to
compute a CVT (Centroidal Voronoi Tessellation)
calculation under a spatially varying metric.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Related Data and Programs:
cvt_metric,
a MATLAB program which
computes a Centroidal Voronoi Tessellation (CVT) under a
spatially varying metric;
Source Code:
-
metric_01.m,
metric matrix is the identity.
-
metric_02.m,
metric matrix is [9,0;0,1].
-
metric_03.m,
metric matrix is [1,0;0,100].
-
metric_03.png,
200 generators, using 1600 sample points, and 20 iterations,
with the constant metric [1,0;0,100].
-
metric_04.m,
metric matrix is [1,0;0,1] * (0.2+sin(2*pi*x)^2 * sin(2*pi*y)^2).
-
metric_04.png,
200 generators, using 1600 sample points, and 20 iterations,
with the metric matrix
[1,0;0,1] * (0.2+sin(2*pi*x)**2 * sin(2*pi*y)**2).
-
metric_05.m,
metric matrix is [2,3;3,5].
Last revised on 09 May 2019.