What is the best way to create a polygon from list of point?
I have an array of points, if points are at least 3 I would like to join to create a polygon
Dim ClickedPoint As New NetTopologySuite.Geometries.Point(coordinates)
ClickedPointArray.Add(ClickedPoint)
if ClickedPointArray.Count > 2 then
Polygonizer = New Polygonizer()
Polygonizer.Add(ClickedPointArray)
end if
return Polygonizer.GetPolygons
I think I'm very far from solution. Could you help me?