I have a rectangular polygon with 5 points. It is closed because the first and last point are the same.
I then use Simplify just to make sure it has the correct winding. After Simplify I only have 4 points in my Polygon.
Is this supposed to happen? It's very inconvenient. I've had to deconstruct my Polygon to a PolygonBuilder, add the missing point, and then reconstruct my Polygon from the PolygonBuilder.
It's all a bit tedious and time consuming.
Am I misunderstanding what Simplify does? Is there a way to do it without ending up with an unclosed Polygon?
Solved! Go to Solution.
Simplify removes duplicate points as well, and if the start and endpoint is the same, it'll remove it. Polygons are always closed and doesn't need the last vertex to be the same as the first.
Simplify removes duplicate points as well, and if the start and endpoint is the same, it'll remove it. Polygons are always closed and doesn't need the last vertex to be the same as the first.