diff --git a/Packages/Intersections_3/include/CGAL/intersection_3_1.C b/Packages/Intersections_3/include/CGAL/intersection_3_1.C index 47ff7263c29..ff5733b9bc0 100644 --- a/Packages/Intersections_3/include/CGAL/intersection_3_1.C +++ b/Packages/Intersections_3/include/CGAL/intersection_3_1.C @@ -29,7 +29,9 @@ namespace CGALi { template Object -intersection(const typename CGAL_WRAP(K)::Plane_3 &plane1, const typename CGAL_WRAP(K)::Plane_3 &plane2, const K&) +intersection(const typename CGAL_WRAP(K)::Plane_3 &plane1, + const typename CGAL_WRAP(K)::Plane_3 &plane2, + const K&) { typedef typename K::Point_3 Point_3; typedef typename K::Direction_3 Direction_3; @@ -93,7 +95,9 @@ intersection(const typename CGAL_WRAP(K)::Plane_3 &plane1, const typename CGAL_W template Object -intersection(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_WRAP(K)::Line_3 &line, const K&) +intersection(const typename CGAL_WRAP(K)::Plane_3 &plane, + const typename CGAL_WRAP(K)::Line_3 &line, + const K&) { typedef typename K::Point_3 Point_3; typedef typename K::Direction_3 Direction_3; @@ -124,7 +128,9 @@ intersection(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_W template inline Object -intersection(const typename CGAL_WRAP(K)::Line_3 &line, const typename CGAL_WRAP(K)::Plane_3 &plane, const K& k) +intersection(const typename CGAL_WRAP(K)::Line_3 &line, + const typename CGAL_WRAP(K)::Plane_3 &plane, + const K& k) { return intersection(plane, line, k); } @@ -132,7 +138,9 @@ intersection(const typename CGAL_WRAP(K)::Line_3 &line, const typename CGAL_WRAP template bool -do_intersect(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_WRAP(K)::Line_3 &line, const K&) +do_intersect(const typename CGAL_WRAP(K)::Plane_3 &plane, + const typename CGAL_WRAP(K)::Line_3 &line, + const K&) { typedef typename K::Point_3 Point_3; typedef typename K::Direction_3 Direction_3; @@ -158,7 +166,9 @@ do_intersect(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_WR template inline bool -do_intersect(const typename CGAL_WRAP(K)::Line_3 &line, const typename CGAL_WRAP(K)::Plane_3 &plane, const K& k) +do_intersect(const typename CGAL_WRAP(K)::Line_3 &line, + const typename CGAL_WRAP(K)::Plane_3 &plane, + const K& k) { return do_intersect(plane, line, k); } @@ -166,7 +176,9 @@ do_intersect(const typename CGAL_WRAP(K)::Line_3 &line, const typename CGAL_WRAP template Object -intersection(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_WRAP(K)::Ray_3 &ray, const K& k) +intersection(const typename CGAL_WRAP(K)::Plane_3 &plane, + const typename CGAL_WRAP(K)::Ray_3 &ray, + const K& k) { typedef typename K::Point_3 Point_3; const Object line_intersection = @@ -187,7 +199,9 @@ intersection(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_WR template inline Object -intersection(const typename CGAL_WRAP(K)::Ray_3 &ray, const typename CGAL_WRAP(K)::Plane_3 &plane, const K& k) +intersection(const typename CGAL_WRAP(K)::Ray_3 &ray, + const typename CGAL_WRAP(K)::Plane_3 &plane, + const K& k) { return intersection(plane, ray, k); } @@ -196,7 +210,9 @@ intersection(const typename CGAL_WRAP(K)::Ray_3 &ray, const typename CGAL_WRAP(K template bool -do_intersect(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_WRAP(K)::Ray_3 &ray, const K& k) +do_intersect(const typename CGAL_WRAP(K)::Plane_3 &plane, + const typename CGAL_WRAP(K)::Ray_3 &ray, + const K& k) { typedef typename K::Point_3 Point_3; const Object line_intersection = @@ -217,7 +233,9 @@ do_intersect(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_WR template inline bool -do_intersect(const typename CGAL_WRAP(K)::Ray_3 &ray, const typename CGAL_WRAP(K)::Plane_3 &plane, const K& k) +do_intersect(const typename CGAL_WRAP(K)::Ray_3 &ray, + const typename CGAL_WRAP(K)::Plane_3 &plane, + const K& k) { return do_intersect(plane, ray, k); } @@ -225,7 +243,9 @@ do_intersect(const typename CGAL_WRAP(K)::Ray_3 &ray, const typename CGAL_WRAP(K template Object -intersection(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_WRAP(K)::Segment_3 &seg, const K& k) +intersection(const typename CGAL_WRAP(K)::Plane_3 &plane, + const typename CGAL_WRAP(K)::Segment_3 &seg, + const K& k) { typedef typename K::Point_3 Point_3; const Point_3 &source = seg.source(); @@ -266,7 +286,9 @@ intersection(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_WR template inline Object -intersection(const typename CGAL_WRAP(K)::Segment_3 &seg, const typename CGAL_WRAP(K)::Plane_3 &plane, const K& k) +intersection(const typename CGAL_WRAP(K)::Segment_3 &seg, + const typename CGAL_WRAP(K)::Plane_3 &plane, + const K& k) { return intersection(plane, seg, k); } @@ -274,7 +296,9 @@ intersection(const typename CGAL_WRAP(K)::Segment_3 &seg, const typename CGAL_WR template bool -do_intersect(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_WRAP(K)::Segment_3 &seg, const K&) +do_intersect(const typename CGAL_WRAP(K)::Plane_3 &plane, + const typename CGAL_WRAP(K)::Segment_3 &seg, + const K&) { typedef typename K::Point_3 Point_3; const Point_3 &source = seg.source(); @@ -293,7 +317,9 @@ do_intersect(const typename CGAL_WRAP(K)::Plane_3 &plane, const typename CGAL_W template inline bool -do_intersect(const typename CGAL_WRAP(K)::Segment_3 &seg, const typename CGAL_WRAP(K)::Plane_3 &plane, const K& k) +do_intersect(const typename CGAL_WRAP(K)::Segment_3 &seg, + const typename CGAL_WRAP(K)::Plane_3 &plane, + const K& k) { return do_intersect(plane, seg, k); } @@ -302,7 +328,8 @@ do_intersect(const typename CGAL_WRAP(K)::Segment_3 &seg, const typename CGAL_WR template Object intersection(const typename CGAL_WRAP(K)::Line_3 &line, - const Bbox_3 &box, const K&) + const Bbox_3 &box, + const K&) { typedef typename K::Point_3 Point_3; typedef typename K::Direction_3 Direction_3; @@ -323,7 +350,9 @@ intersection(const typename CGAL_WRAP(K)::Line_3 &line, template inline Object -intersection(const Bbox_3 &box, const typename CGAL_WRAP(K)::Line_3 &line, const K& k) +intersection(const Bbox_3 &box, + const typename CGAL_WRAP(K)::Line_3 &line, + const K& k) { return intersection(line, box, k); } @@ -332,7 +361,8 @@ intersection(const Bbox_3 &box, const typename CGAL_WRAP(K)::Line_3 &line, const template Object intersection(const typename CGAL_WRAP(K)::Ray_3 &ray, - const Bbox_3 &box, const K&) + const Bbox_3 &box, + const K&) { typedef typename K::Point_3 Point_3; typedef typename K::Direction_3 Direction_3; @@ -353,7 +383,9 @@ intersection(const typename CGAL_WRAP(K)::Ray_3 &ray, template inline Object -intersection(const Bbox_3 &box, const typename CGAL_WRAP(K)::Ray_3 &ray, const K& k) +intersection(const Bbox_3 &box, + const typename CGAL_WRAP(K)::Ray_3 &ray, + const K& k) { return intersection(ray, box, k); } @@ -362,7 +394,9 @@ intersection(const Bbox_3 &box, const typename CGAL_WRAP(K)::Ray_3 &ray, const K template Object -intersection(const typename CGAL_WRAP(K)::Segment_3 &seg, const Bbox_3 &box, const K&) +intersection(const typename CGAL_WRAP(K)::Segment_3 &seg, + const Bbox_3 &box, + const K&) { typedef typename K::Point_3 Point_3; typedef typename K::Vector_3 Vector_3; @@ -383,7 +417,9 @@ intersection(const typename CGAL_WRAP(K)::Segment_3 &seg, const Bbox_3 &box, con template inline Object -intersection(const Bbox_3 &box, const typename CGAL_WRAP(K)::Segment_3 &seg, const K& k) +intersection(const Bbox_3 &box, + const typename CGAL_WRAP(K)::Segment_3 &seg, + const K& k) { return intersection(seg, box, k); } @@ -392,7 +428,8 @@ intersection(const Bbox_3 &box, const typename CGAL_WRAP(K)::Segment_3 &seg, con template Object intersection(const typename CGAL_WRAP(K)::Line_3 &line, - const typename CGAL_WRAP(K)::Iso_cuboid_3 &box, const K&) + const typename CGAL_WRAP(K)::Iso_cuboid_3 &box, + const K&) { typedef typename K::Point_3 Point_3; typedef typename K::Vector_3 Vector_3; @@ -454,7 +491,9 @@ intersection(const typename CGAL_WRAP(K)::Line_3 &line, template inline Object -intersection(const typename CGAL_WRAP(K)::Iso_cuboid_3 &box, const typename CGAL_WRAP(K)::Line_3 &line, const K&) +intersection(const typename CGAL_WRAP(K)::Iso_cuboid_3 &box, + const typename CGAL_WRAP(K)::Line_3 &line, + const K&) { return intersection(line, box, k); } @@ -464,7 +503,8 @@ intersection(const typename CGAL_WRAP(K)::Iso_cuboid_3 &box, const typename CGAL template Object intersection(const typename CGAL_WRAP(K)::Ray_3 &ray, - const typename CGAL_WRAP(K)::Iso_cuboid_3 &box, const K&) + const typename CGAL_WRAP(K)::Iso_cuboid_3 &box, + const K&) { typedef typename K::Point_3 Point_3; typedef typename K::Vector_3 Vector_3; @@ -535,7 +575,8 @@ intersection(const typename CGAL_WRAP(K)::Iso_cuboid_3 &box, template Object intersection(const typename CGAL_WRAP(K)::Segment_3 &seg, - const typename CGAL_WRAP(K)::Iso_cuboid_3 &box, const K&) + const typename CGAL_WRAP(K)::Iso_cuboid_3 &box, + const K&) { typedef typename K::Point_3 Point_3; typedef typename K::Vector_3 Vector_3; @@ -607,7 +648,8 @@ template Object intersection( const typename CGAL_WRAP(K)::Iso_cuboid_3 &icub1, - const typename CGAL_WRAP(K)::Iso_cuboid_3 &icub2, const K&) + const typename CGAL_WRAP(K)::Iso_cuboid_3 &icub2, + const K&) { typedef typename K::Point_3 Point_3; typedef typename K::Iso_cuboid_3 Iso_cuboid_3;