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

Function Documentation

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

Intersection ray with plane

WARNING: This function does not support coplanarity!

Parameters
  • ray_in – Input ray

  • plane_in – Input plane

  • point_out – Output point

  • tolerance – Tolerance