From 00a6865909bee17a46e64508a7c75c0ff5ffd8db Mon Sep 17 00:00:00 2001 From: Claudia Werner Date: Tue, 15 Jan 2013 08:38:56 +0100 Subject: [PATCH] fixed error concerning set_radius in traits. --- .../include/CGAL/Delaunay_triangulation_sphere_2.h | 4 ++-- .../include/CGAL/Delaunay_triangulation_sphere_traits_2.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_2.h b/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_2.h index a8e75e37169..0741dfb7eb2 100644 --- a/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_2.h +++ b/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_2.h @@ -46,8 +46,8 @@ public: typedef typename Base::Solid_faces_iterator Solid_faces_iterator; typedef typename Base::Solid_edges_iterator Solid_edges_iterator; typedef typename Base::Contour_edges_iterator Contour_edges_iterator; - typedef typename Base::Face::Vertex_list Vertex_list; - typedef typename Vertex_list::iterator Vertex_list_iterator; + //typedef typename Base::Vertex_list Vertex_list; + //typedef typename Vertex_list::iterator Vertex_list_iterator; #ifndef CGAL_CFG_USING_BASE_MEMBER_BUG_2 using Base::cw; diff --git a/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_traits_2.h b/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_traits_2.h index 08ff1b8f14b..fec26586f7f 100644 --- a/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_traits_2.h +++ b/Triangulation_on_sphere_2/include/CGAL/Delaunay_triangulation_sphere_traits_2.h @@ -225,11 +225,11 @@ public: typedef typename R::Compute_squared_distance_3 Compute_squared_distance_2; typedef typename R::Compare_xyz_3 Compare_xyz_3; - + double _radius; typedef boost::true_type requires_test; - void set_radius(double a){} + void set_radius(double a){_radius = a;} Delaunay_triangulation_sphere_traits_2(const Point_2& sphere=Point_2(0,0,0));