Skip to content

editor / arcAxisPoints

Function: arcAxisPoints() ​

arcAxisPoints(arc): readonly Point[]

Defined in: geometry/arc-axis-points.ts:27

Points where a fillet arc reaches an extreme x or y between its ends: C + r·d for each axis direction d it sweeps through (DERIV-arc-bounding-box steps 2–3).

Test: σ (s × d) ≥ 0 and σ (d × e) ≥ 0, s and e from the center to the ends, σ the sign of the arc's direction; valid for a sweep strictly between 0 and half a turn, as a fillet of a rounded contour (hasLength), not for an arc without length.

Parameters ​

arc ​

Arc

fillet arc of a rounded contour, with a length

Returns ​

readonly Point[]

its axis points, in the order right, down, left, up

Kind ​

geometry

See ​

DERIV-arc-bounding-box