Mutually excludes common area defined by intersection of polygon_a and polygon_b (see intersectPolygons2d) and returns an array of excluded polygons. This performs constantOPERATION_XOR between polygons. In other words, returns all but common area between polygons.
The operation may result in an outer polygon (boundary) and inner polygon (hole) produced which could be distinguished by calling isPolygonClockwise.
Mutually excludes common area defined by intersection of polygon_a and polygon_b (see intersectPolygons2d) and returns an array of excluded polygons. This performs constant OPERATION_XOR between polygons. In other words, returns all but common area between polygons. The operation may result in an outer polygon (boundary) and inner polygon (hole) produced which could be distinguished by calling isPolygonClockwise.