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

Function Documentation

bool acme::Intersection(plane const &plane_in, segment const &segment_in, segment &segment_out = DUMMY_SEGMENT, real tolerance = EPSILON)

Intersection ray with plane

WARNING: This function does only support coplanar objects!

Parameters
  • plane_in – Input plane

  • segment_in – Input segment

  • segment_out – Output segment

  • tolerance – Tolerance