Function acme::Intersection(line const&, triangle const&, segment&, real)

Function Documentation

bool acme::Intersection(line const &line_in, triangle const &triangle_in, segment &segment_out = DUMMY_SEGMENT, real tolerance = EPSILON)

Intersection line with triangle

WARNING: This function does only support coplanar objects!

Parameters
  • line_in – Input line

  • triangle_in – Input triangle

  • segment_out – Output segment

  • tolerance – Tolerance