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

Function Documentation

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

Intersection line with segment

WARNING: This function does not support collinear objects!

Parameters
  • line_in – Input line

  • segment – Input segment

  • point_out – Output point

  • tolerance – Tolerance