isSameXYZ MethodStatic
Boolean test for small xyz-distance within tolerance
.
Geometry.smallMetricDistance
is used if tolerance isundefined
.- Note that Point3d and Vector3d are both derived from XYZ, so this method tolerates mixed types.
isSameXYZ(dataA: XYZ, dataB: XYZ, tolerance: number = Geometry.smallMetricDistance): boolean
Parameter | Type | Description |
---|---|---|
dataA | XYZ | |
dataB | XYZ | |
tolerance | number |
Returns - boolean
Defined in
- Geometry.ts Line 402
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.