comparePairsByPoints MethodStatic
Return a pair comparator useful for sorting an array of detail pairs by their points.
- Comparison sorts the points lexicographically,
detailA.pointfirst, thendetailB.point.
comparePairsByPoints(pointTol: number = Geometry.smallMetricDistance, xyOnly: boolean = false): OrderedComparator<CurveLocationDetailPair>
| Parameter | Type | Description |
|---|---|---|
| pointTol | number | tolerance for comparing points. Default value smallMetricDistance. |
| xyOnly | boolean | whether to perform point comparisons in xy only. Default is false (compare 3D points). |
Returns - OrderedComparator<CurveLocationDetailPair>
Defined in
- curve/CurveLocationDetail.ts Line 609
Last Updated: 28 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.