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

Function Documentation

bool acme::Intersection(segment const &segment_in, triangle const &triangle_in, point &point_out = DUMMY_POINT, real tolerance = EPSILON)

Intersection segment with triangle

WARNING: This function does not support coplanarity!

Parameters
  • segment_in – Input segment

  • triangle_in – Input triangle

  • point_out – Output point

  • tolerance – Tolerance