closureTolerance
closureTolerance: number | undefined
An absolute distance tolerance for comparing points. Default value is smallMetricDistance.
- If the first and last input points are within this distance, the line string is considered to be closed.
- This distance is used when
filletClosureistrueto detect whether the last point is redundant and thus to be ignored during processing. - This distance is also used when
simplifyPathistrueto detect small line segments.
Defined in
- curve/CurveFactory.ts Line 142
Last Updated: 03 September, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.