isSameVector2d MethodStatic
Boolean test for small xy-distance within tolerance.
- smallMetricDistance is used if tolerance is
undefined.
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 441
Last Updated: 28 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.