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

Function Documentation

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

Intersection between two lines

WARNING: This function does not support collinear objects!

Parameters
  • line0_in – Input line 0

  • line1_in – Input line 1

  • point_out – Output point

  • tolerance – Tolerance