almostEqualUncheckedIndexIndex Method

Test whether the indexed points are equal within tolerance.

almostEqualUncheckedIndexIndex(index0: number, index1: number, tolerance: number = Geometry.smallMetricDistance): boolean

@returns whether the points are equal within tolerance.

Parameter Type Description
index0 number index of first point.
index1 number index of second point.
tolerance number max coordinate difference to be considered equal. For exact test, pass 0. Defaults to Geometry.smallMetricDistance.

Returns - boolean

whether the points are equal within tolerance.

Defined in

Last Updated: 13 December, 2025