isAlmostEqual Method

Test if this angle and other are almost equal, NOT allowing shift by full circle (i.e., multiples of 2 * PI).

  • This function is same as isAlmostEqualRadiansNoPeriodShift. Please use isAlmostEqualRadiansNoPeriodShift.

isAlmostEqual(other: Angle, radianTol: numberGeometry.smallAngleRadians): boolean

Parameter Type Description
other Angle the other angle
radianTol number radian tolerance with default value of Geometry.smallAngleRadians

Returns - boolean

Defined in

Last Updated: 21 November, 2024