Open kamcknig opened 8 years ago
If the edges of the two polys do not intersect, then there is nothing to perform. If one poly is entirely inside another, then that is a hole and the result can not be described as a polygon. You can use polygon clipper to create clipped polygons, but not to make holes. If you are looking for something to return a tesselation of the result of cutting a hole in a poly, you can use a tesselator, e.g. Poly2tri
So this doesnt actually cut the polygons and make new polygons? I tried putting a small square polygon on top of a large square polygon and clipping the small one from teh alrge one. but it just spits out two polygons with the exact same vertices instead of something like a weakly simple polygon or convex polygons.