isAlmostEqualNumber MethodStatic
Toleranced equality test.
isAlmostEqualNumber(a: number, b: number, tolerance: numberGeometry.smallAngleRadians): boolean
@returns true if and only if a
and b
are almost equal.
Parameter | Type | Description |
---|---|---|
a | number | |
b | number | |
tolerance | number | relative tolerance. Default value is smallAngleRadians. |
Returns - boolean
true if and only if a
and b
are almost equal.
Defined in
- Geometry.ts Line 527
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.