cuspTolerance
cuspTolerance: number | undefined
Maximum allowable length of a cusp when allowCusp is true. Default value is smallMetricDistance.
- A cusp's length is defined to be the length of its "cusp segment", regardless of whether the cusp segment
appears in the output
Path(cf. optioncuspSegments). - A cusp whose length exceeds
cuspToleranceis avoided by suppressing one or both of the cusp's constituent fillets. Where two fillets combine to form such a cusp, but either fillet by itself produces a cusp shorter thancuspTolerance, the fillet that generates the shorter cusp survives; if the fillets by themselves generate equal length cusps, the fillet with smaller chain index survives.
Defined in
- curve/CurveFactory.ts Line 151
Last Updated: 23 June, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.