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