Comment on Fun with convex polygonsComments−samlittlewood14yThat works for just fine for concave non self intersecting polys as well - all the signed areas (albeit overlapping) cancel appropriately.(scribble scribble) ... Edit: and for self intersecting, it gives the area of the poly where winding is odd.
Comments
That works for just fine for concave non self intersecting polys as well - all the signed areas (albeit overlapping) cancel appropriately.
(scribble scribble) ... Edit: and for self intersecting, it gives the area of the poly where winding is odd.