From c71a0233bb238d3ccf9155e018cc2d5f90eb6178 Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Fri, 25 Jul 2008 15:03:29 +0000 Subject: [PATCH] Replace CGAL::Triple by boost::tuple. --- .../include/CGAL/Circular_kernel_3/Circular_arc_3.h | 12 ++++++------ .../include/CGAL/Circular_kernel_3/Line_arc_3.h | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Circular_kernel_3/include/CGAL/Circular_kernel_3/Circular_arc_3.h b/Circular_kernel_3/include/CGAL/Circular_kernel_3/Circular_arc_3.h index 13b53a2ac7b..c4e43ed7fa1 100644 --- a/Circular_kernel_3/include/CGAL/Circular_kernel_3/Circular_arc_3.h +++ b/Circular_kernel_3/include/CGAL/Circular_kernel_3/Circular_arc_3.h @@ -24,8 +24,8 @@ #ifndef CGAL_SPHERICAL_KERNEL_CIRCULAR_ARC_3_H #define CGAL_SPHERICAL_KERNEL_CIRCULAR_ARC_3_H -#include #include +#include namespace CGAL { @@ -42,7 +42,7 @@ namespace CGAL { private: - typedef Triple Rep; typedef typename SK::template Handle::type Base; @@ -56,7 +56,7 @@ namespace CGAL { public: const Sphere_3& reference_sphere(){ - return get_ref_sphere(get(base).first); + return get_ref_sphere(get(base).get<0>()); }; @@ -197,17 +197,17 @@ namespace CGAL { const Circle_3& supporting_circle() const { - return get(base).first; + return get(base).get<0>(); } const Circular_arc_point_3& source() const { - return get(base).second; + return get(base).get<1>(); } const Circular_arc_point_3& target() const { - return get(base).third; + return get(base).get<2>(); } Plane_3 supporting_plane() const { diff --git a/Circular_kernel_3/include/CGAL/Circular_kernel_3/Line_arc_3.h b/Circular_kernel_3/include/CGAL/Circular_kernel_3/Line_arc_3.h index 322c605a726..3269872637e 100644 --- a/Circular_kernel_3/include/CGAL/Circular_kernel_3/Line_arc_3.h +++ b/Circular_kernel_3/include/CGAL/Circular_kernel_3/Line_arc_3.h @@ -24,8 +24,8 @@ #ifndef CGAL_SPHERICAL_KERNEL_LINE_ARC_3_H #define CGAL_SPHERICAL_KERNEL_LINE_ARC_3_H -#include #include +#include namespace CGAL { namespace CGALi{ @@ -40,7 +40,7 @@ namespace CGAL { typedef typename SK::FT FT; private: - typedef Triple Rep; typedef typename SK::template Handle::type Base; @@ -173,17 +173,17 @@ namespace CGAL { const Line_3& supporting_line() const { - return get(base).first; + return get(base).get<0>(); } const Circular_arc_point_3& source() const { - return get(base).second; + return get(base).get<1>(); } const Circular_arc_point_3& target() const { - return get(base).third; + return get(base).get<2>(); } const Circular_arc_point_3& lower_xyz_extremity() const