isAlmostEqualNumber MethodStatic
Toleranced equality test, using tolerance smallAngleRadians * ( 1 + abs(a) + (abs(b)))
- Effectively an absolute tolerance of
smallAngleRadians
, with tolerance increasing for larger values of a and b.
isAlmostEqualNumber(a: number, b: number): boolean
Parameter | Type | Description |
---|---|---|
a | number | |
b | number |
Returns - boolean
Defined in
- Geometry.ts Line 383
Last Updated: 30 November, 2023