Function acme::IsOrthogonal(ray const&, segment const&, real)

Function Documentation

bool acme::IsOrthogonal(ray const &ray_in, segment const &segment_in, real tolerance = EPSILON)

Check if ray and segment are orthogonal.

Parameters
  • ray_in – Input ray

  • segment_in – Input segment

  • tolerance – Tolerance