isSameXYZ MethodStatic

Boolean test for small xyz-distance within tolerance.

  • smallMetricDistance is used if tolerance is undefined.
  • Note that Point3d and Vector3d are both derived from XYZ, so this method tolerates mixed types.

isSameXYZ(dataA: XYZ, dataB: XYZ, tolerance: numberGeometry.smallMetricDistance): boolean

Parameter Type Description
dataA XYZ  
dataB XYZ  
tolerance number  

Returns - boolean

Defined in

Last Updated: 21 November, 2024