Function acme::IsCollinear(line const&, segment const&, real)

Function Documentation

bool acme::IsCollinear(line const &line_in, segment const &segment_in, real tolerance = EPSILON)

Check if line and segment are collinear.

Parameters
  • line_in – Input line

  • segment_in – Input segment

  • tolerance – Tolerance