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