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

Function Documentation

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

Intersection segment with disk

WARNING: This function does only support coplanar objects!

Parameters
  • segment_in – Input segment

  • disk_in – Input disk

  • segment_out – Output segment

  • tolerance – Tolerance