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

Function Documentation

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

Intersection segment with triangle

WARNING: This function does only support coplanar objects!

Parameters
  • segment_in – Input segment

  • triangle_in – Input triangle

  • segment_out – Output segment

  • tolerance – Tolerance