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

