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

Function Documentation

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

Intersection ray with disk

WARNING: This function does only support coplanar objects!

Parameters
  • ray_in – Input ray

  • disk_in – Input disk

  • segment_out – Output segment

  • tolerance – Tolerance