isAlmostEqualRadiansAllowPeriodShift MethodStatic
Test if two radians values are equivalent, allowing shift by full circle (i.e. by a multiple of 2*PI
)
isAlmostEqualRadiansAllowPeriodShift(radiansA: number, radiansB: number, radianTol: number = Geometry.smallAngleRadians): boolean
Parameter | Type | Description |
---|---|---|
radiansA | number | first radians value |
radiansB | number | second radians value |
radianTol | number | radian tolerance with default value of Geometry.smallAngleRadians |
Returns - boolean
Defined in
- geometry3d/Angle.ts Line 325
Last Updated: 20 June, 2023