isAlmostEqualNumber MethodStatic

Toleranced equality test.

isAlmostEqualNumber(a: number, b: number, tolerance: numberGeometry.smallAngleRadians): boolean

@returns true if and only if a and b are almost equal.

Parameter Type Description
a number  
b number  
tolerance number relative tolerance. Default value is smallAngleRadians.

Returns - boolean

true if and only if a and b are almost equal.

Defined in

Last Updated: 14 November, 2024