Function acme::Intersection(ray const&, segment const&, point&, real)¶
Defined in File intersection.hxx
Function Documentation¶
-
bool acme::Intersection(ray const &ray_in, segment const &segment, point &point_out = DUMMY_POINT, real tolerance = EPSILON)¶
-
Intersection ray with segment
WARNING: This function does not support collinear objects!
- Parameters
-
ray_in – Input ray
segment – Input segment
point_out – Output point
tolerance – Tolerance