isAlmostEqual Method
Test for nearly equal Ray3d objects by comparing their origin and direction members.
isAlmostEqual(other: Ray3d, tolerance: numberGeometry.smallMetricDistance): boolean
@see isAlmostEqualPointSet to test for rays on the same infinite line.
Parameter | Type | Description |
---|---|---|
other | Ray3d | |
tolerance | number |
Returns - boolean
Defined in
- geometry3d/Ray3d.ts Line 75
Last Updated: 29 July, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.