patternModerate
Is there a computationally reasonable algorithm for generating a set of polygons from a set of 2d points?
Viewed 0 times
fromcomputationallypointsreasonablealgorithmgeneratingfortheresetpolygons
Problem
Is there a known/existing algorithm for taking a 2D canvas covered in arbitrarily/randomly distributed points and dividing it entirely into a set of non-overlapping polygons? An example of the kind of result I'm looking for:
Solution
Yes, there are even algorithms which are able to satisfy additional constraints. It can occur as a subtask during mesh generation. The vanilla algorithm is the Delaunay triangulation, which is closely related to the Voronoi diagram (in case you wonder why D.W. thinks that the Voronoi diagram answers your question).
Context
StackExchange Computer Science Q#45021, answer score: 13
Revisions (0)
No revisions yet.