isSameCoordinateXY MethodStatic
Boolean test for metric coordinate pair near-equality (i.e., if x0 and x1 are almost equal
and y0 and y1 are almost equal) using tolerance.
- smallMetricDistance is used if tolerance is
undefined.
isSameCoordinateXY(x0: number, y0: number, x1: number, y1: number, tolerance: number = Geometry.smallMetricDistance): boolean
| Parameter | Type | Description |
|---|---|---|
| x0 | number | |
| y0 | number | |
| x1 | number | |
| y1 | number | |
| tolerance | number |
Returns - boolean
Defined in
- Geometry.ts Line 368
Last Updated: 28 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.