isAlmostEqual Method

Returns true if this and other have equal x,y,z parts within Geometry.smallMetricDistance.

isAlmostEqual(other: XYAndZ, tol?: number): boolean

Parameter Type Description
other XYAndZ The other XYAndZ to compare
tol number The tolerance for the comparison. If undefined, use Geometry.smallMetricDistance

Returns - boolean

Defined in

Last Updated: 15 June, 2021