GeometrySingleton.intersectPolylineWithPolygon2d

Intersects polyline with polygon and returns an array of intersected polylines. This performs constant OPERATION_INTERSECTION between the polyline and the polygon. This operation can be thought of as chopping a line with a closed shape.

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

Meta