intersectCirclePolyline
Find the intersections between a circle and a bounding box.
function intersectCirclePolyline(
c: VecLike,
r: number,
points: VecLike[]
): null | VecLike[]
Parameters
Name | Description |
---|---|
|
The circle's center. |
|
The circle's radius. |
|
The points in the polyline. |
Returns
null | VecLike[]