Function GeometrySingleton.mergePolygons2d
Merges (combines) polygon_a
and polygon_b
and returns an array of merged polygons. This performs constant OPERATION_UNION
between polygons.
The operation may result in an outer polygon (boundary) and inner polygon (hole) produced which could be distinguished by calling isPolygonClockwise
.