GeometrySingleton.clipPolylineWithPolygon2d

Clips polyline against polygon and returns an array of clipped polylines. This performs constant OPERATION_DIFFERENCE between the polyline and the polygon. This operation can be thought of as cutting a line with a closed shape.

struct GeometrySingleton
@nogc nothrow
Array
clipPolylineWithPolygon2d
(
in PoolVector2Array polyline
,
in PoolVector2Array polygon
)

Meta