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

Function Documentation

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

Intersection segment and ball

WARNING: This function does not support coplanarity!

Parameters
  • segment_in – Input segment

  • ball_in – Input ball

  • segment_out – Output segment

  • tolerance – Tolerance