Home > @jsplumbtoolkit/browser-ui > boundingBoxIntersection
boundingBoxIntersection() function
Calculates all intersections of the given bounding box with the given curve.
Signature:
export declare function boundingBoxIntersection(boundingBox: BoundingBox, curve: Curve): Array<PointXY>;
Parameters
Parameter | Type | Description |
---|---|---|
boundingBox | BoundingBox | Bounding box to test for intersections. |
curve | Curve |
Returns:
Array<PointXY>
Array of intersecting points.