IntersectionsThere are functions to compute intersections between lines, rays, and segments. For example, if bool l.intersection(s,p);We use the notation LINE (SEGMENT,POINT) to indicate that the
algorithm works both for lines (segments , points )
and rat_lines (rat_segments , rat_points ).
(More information on Writing Kernel Independent
Code.) |
See also:Writing Kernel Independent Code |