allowCusp
allowCusp: boolean | undefined
Whether to allow cusps in the output Path. Default value is true.
- A cusp forms when a fillet's radius is large enough to consume an adjacent line string segment, or when two fillets intersect.
- Each cusp results in a retrograde "cusp segment" or gap in the output
Path, as per thecuspSegmentsoption. - The length of cusp segments in the output
Pathis bounded above by thecuspToleranceoption. - When this option is
false, cusps are avoided by suppressing one or both of their constituent fillets. Where two fillets combine to form a cusp, but either fillet by itself does not form a cusp, the fillet with smaller chain index survives.
Defined in
- curve/CurveFactory.ts Line 125
Last Updated: 23 June, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.