compareXY MethodStatic
Constructor for a lexical comparison with tolerance (x then y).
compareXY(distanceTol: numberGeometry.smallMetricDistance): OrderedComparator<Readonly<WritableXAndY>>
@returns comparison function useful for ordered map callbacks.
Parameter | Type | Description |
---|---|---|
distanceTol | number | tolerance for comparing coordinates. Default value is smallMetricDistance. |
Returns - OrderedComparator<Readonly<WritableXAndY>>
comparison function useful for ordered map callbacks.
Defined in
- Geometry.ts Line 527
Last Updated: 07 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.