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

Function Documentation

bool acme::Intersection(ray const &ray_in, disk const &disk_in, point &point_out = DUMMY_POINT, real tolerance = EPSILON)

Intersection ray with disk

WARNING: This function does not support coplanarity!

Parameters
  • ray_in – Input ray

  • disk_in – Input disk

  • point_out – Output point

  • tolerance – Tolerance