Intersects polygon_a with polygon_b and returns an array of intersected polygons. This performs constantOPERATION_INTERSECTION between polygons. In other words, returns common area shared by polygons. Returns an empty array if no intersection occurs.
The operation may result in an outer polygon (boundary) and inner polygon (hole) produced which could be distinguished by calling isPolygonClockwise.
Intersects polygon_a with polygon_b and returns an array of intersected polygons. This performs constant OPERATION_INTERSECTION between polygons. In other words, returns common area shared by polygons. Returns an empty array if no intersection occurs. The operation may result in an outer polygon (boundary) and inner polygon (hole) produced which could be distinguished by calling isPolygonClockwise.