Skip to main content

Home > @jsplumb/connector-bezier > 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#

ParameterTypeDescription
boundingBoxBoundingBoxBounding box to test for intersections.
curveCurve

Returns:

Array<PointXY>

Array of intersecting points.