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: numberGeometry.smallMetricDistance): boolean
Parameter | Type | Description |
---|---|---|
x | number | |
y | number | |
tolerance | number |
Returns - boolean
Defined in
- Geometry.ts Line 387
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.