Skip to content

editor / contourBoundingBox

Function: contourBoundingBox() ​

contourBoundingBox(pieces): BoundingBox

Defined in: geometry/contour-bounding-box.ts:18

Straight box of a contour of segments and fillet arcs: the smallest upright rectangle around the drawn outline, arcs included, as getBBox returns it, strokes excluded (DERIV-arc-bounding-box step 4).

Parameters ​

pieces ​

readonly ContourPiece[]

segments and arcs of a contour (roundedContour)

Returns ​

BoundingBox

its extreme coordinates

Kind ​

geometry

See ​

DERIV-arc-bounding-box