Function GeometrySingleton.excludePolygons2d

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 distiguished by calling isPolygonClockwise.

Array excludePolygons2d (
  const(PoolArray!(godot.core.vector2.Vector2)) polygon_a,
  const(PoolArray!(godot.core.vector2.Vector2)) polygon_b
) nothrow @nogc;