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

Function Documentation

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

Intersection plane with triangle

WARNING: This function does not support coplanarity!

Parameters
  • plane_in – Input plane

  • triangle_in – Input triangle

  • segment_out – Output segment

  • tolerance – Tolerance