Function acme::Intersection(ray const&, ball const&, segment&, real)¶
Defined in File intersection.hxx
Function Documentation¶
-
bool acme::Intersection(ray const &ray_in, ball const &ball_in, segment &segment_out = DUMMY_SEGMENT, real tolerance = EPSILON)¶
-
Intersection ray and ball
WARNING: This function does not support coplanarity!
- Parameters
-
ray_in – Input ray
ball_in – Input ball
segment_out – Output segment
tolerance – Tolerance