isAlmostEqual Method

Test for nearly equal Ray3d objects.

  • This tests for near equality of origin and direction -- i.e. member-by-member comparison.
  • Use isAlmostEqualPointSet to allow origins to be anywhere along the common ray and to have to allow the directions to be scaled or opposing.

isAlmostEqual(other: Ray3d): boolean

Parameter Type Description
other Ray3d  

Returns - boolean

Defined in

Last Updated: 14 November, 2024