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