Function acme::Intersection(ray const&, plane const&, ray&, real)

Function Documentation

bool acme::Intersection(ray const &ray_in, plane const &plane_in, ray &ray_out = DUMMY_RAY, real tolerance = EPSILON)

Intersection ray with plane

WARNING: This function does only support coplanar objects!

Parameters
  • ray_in – Input ray

  • plane_in – Input plane

  • ray_out – Output ray

  • tolerance – Tolerance