Home > @jsplumb/connector-bezier > boundingBoxIntersection
#
boundingBoxIntersection() functionCalculates all intersections of the given bounding box with the given curve.
Signature:
export declare function boundingBoxIntersection(boundingBox: BoundingBox, curve: Curve): Array<PointXY>;
#
ParametersParameter | Type | Description |
---|---|---|
boundingBox | BoundingBox | Bounding box to test for intersections. |
curve | Curve |
Returns:
Array<PointXY>
Array of intersecting points.