[GIS] Create a closed polygon from a series of edges given a point

csharpmap

I have a series of points fed into a voronoi graph class that returns a series of edges defining the bounds between these points, the process works it returns a series of edges.

I now need to do a ray/fill using the points and these edges to build polygons around each point…. for the life of me I can't seem to figure out a process of doing this or a code sample…
C# code or thought process would be great …. maybe ray collision?

Sample Voroni

Best Answer

How about PolygonBuilder in nettopologysuite

NetTopologySuite is a C#/.NET port of JTS Topology Suite, a Java library for GIS operations, (OpenGIS compliant).

Related Question