XYAndZ.almostEqual Function
Return true if two XYAndZs have equal x,y,z parts within a specified tolerance.
almostEqual(a: Readonly<WritableXYAndZ>, b: Readonly<WritableXYAndZ>, tol?: number): boolean
@returns true if the difference in each coordinate of a
and b
is smaller than tol
.
Parameter | Type | Description |
---|---|---|
a | Readonly<WritableXYAndZ> | The first XYAndZ to compare |
b | Readonly<WritableXYAndZ> | The second XYAndZ to compare |
tol | number |
Returns - boolean
true if the difference in each coordinate of a
and b
is smaller than tol
.
Defined in
- geometry3d/XYZProps.ts Line 81
Last Updated: 28 October, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.