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

Function Documentation

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

Intersection between triangles

WARNING: This function does not support coplanarity!

Parameters
  • triangle0_in – Input triangle 0

  • triangle1_in – Input triangle 1

  • segment_out – Output segment

  • tolerance – Tolerance