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

Function Documentation

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

Intersection line with triangle

WARNING: This function does not support coplanarity!

Parameters
  • line_in – Input line

  • triangle_in – Input triangle

  • point_out – Output point

  • tolerance – Tolerance