isSamePoint2d MethodStatic
Boolean test for small xy-distance within tolerance
.
Geometry.smallMetricDistance
is used if tolerance isundefined
.
isSamePoint2d(dataA: Point2d, dataB: Point2d, tolerance: number = Geometry.smallMetricDistance): boolean
Parameter | Type | Description |
---|---|---|
dataA | Point2d | |
dataB | Point2d | |
tolerance | number |
Returns - boolean
Defined in
- Geometry.ts Line 429
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.