I'm having a bit of trouble understanding what VoronoiMesh is actually giving me.
Example:
List<DefaultVertex> anchors = new List<DefaultVertex>();
anchors.Add(new DefaultVertex() {Position = new double[]{-1, 1}});
anchors.Add(new DefaultVertex() {Position = new double[]{-1, -1}});
anchors.Add(new DefaultVertex() {Position = new double[]{1, -1}});
anchors.Add(new DefaultVertex() {Position = new double[]{1, 1}});
anchors.Add(new DefaultVertex() {Position = new double[]{0, 0}});
var mesh = VoronoiMesh.Create(anchors);
The result of this is a mesh object that contains 4 vertices and 4 edges.
From example 5 I am to understand that mesh.Vertices should be the Voronoi cells but they seem to be triangles from the Delauny triangulation and not the Voronoi cells. What am I not understanding here?
I'm having a bit of trouble understanding what VoronoiMesh is actually giving me. Example:
The result of this is a mesh object that contains 4 vertices and 4 edges. From example 5 I am to understand that mesh.Vertices should be the Voronoi cells but they seem to be triangles from the Delauny triangulation and not the Voronoi cells. What am I not understanding here?