isSameCoordinate MethodStatic
Boolean test for metric coordinate near-equality (i.e., if x
and y
are almost equal) using tolerance
.
Geometry.smallMetricDistance
is used if tolerance isundefined
.
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 348
Last Updated: 15 May, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.