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

Function Documentation

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

Check if ray and segment are parallel.

Parameters
  • ray_in – Input ray

  • segment_in – Input segment

  • tolerance – Tolerance