Getting polygons from voronoi edges
问题 I found this library by BenDi to create voronoi edges from a set of points. With the following code I can compute the edges of my voronoi cells. using System; using System.Collections.Generic; using BenTools.Mathematics; namespace Voronoi { class MainClass { public static void Main(string[] args) { Vector[] V = new Vector[4]; V[0] = new Vector(1.3, 2.8); V[1] = new Vector(0.5, 2.8); V[2] = new Vector(2, 1.8); V[3] = new Vector(1, 3); List<Vector> VoronoiSource = new List<Vector>();