Function acme::Intersection(line const&, ray const&, point&, real)

Function Documentation

bool acme::Intersection(line const &line_in, ray const &ray_in, point &point_out = DUMMY_POINT, real tolerance = EPSILON)

Intersection line with ray

WARNING: This function does not support collinear objects!

Parameters
  • line_in – Input line

  • ray_in – Input ray

  • point_out – Output point

  • tolerance – Tolerance