intersectLineSegmentPolyline
Public function
Find the intersections between a line segment and a polyline.
Signature
function intersectLineSegmentPolyline(
a1: VecLike,
a2: VecLike,
points: VecLike[]
): null | VecLike[]
Parameters
Name | Description |
---|---|
|
The segment's first point. |
|
The segment's second point. |
|
The points in the polyline. |
Returns
null | VecLike[]
References
Source