isAlmostEqualEitherNumber MethodStatic
Toleranced test for equality to at least one of two numbers.
isAlmostEqualEitherNumber(a: number, b: number, c: number, tolerance: number = Geometry.smallAngleRadians): boolean
@returns true if and only if a and b are almost equal, or a and c are almost equal.
| Parameter | Type | Description |
|---|---|---|
| a | number | |
| b | number | |
| c | number | |
| tolerance | number | relative tolerance. Default value is smallAngleRadians. |
Returns - boolean
true if and only if a and b are almost equal, or a and c are almost equal.
Defined in
- Geometry.ts Line 589
Last Updated: 28 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.