isAlmostEqual Method
Test if two 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: number = Geometry.smallAngleRadians): boolean
Parameter | Type | Description |
---|---|---|
other | Angle | the other angle |
radianTol | number | radian tolerance with default value of Geometry.smallAngleRadians |
Returns - boolean
Defined in
- geometry3d/Angle.ts Line 369
Last Updated: 30 November, 2023