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