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

Function Documentation

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

Intersection line and ball

WARNING: This function does not support coplanarity!

Parameters
  • line_in – Input line

  • ball_in – Input ball

  • segment_out – Output segment

  • tolerance – Tolerance