From d3f360dbda38f9d1faf8e4dc4d5be1fe883d09e0 Mon Sep 17 00:00:00 2001 From: Miguel Granados Date: Tue, 16 Dec 2003 13:32:16 +0000 Subject: [PATCH] tmp_point() now returns a const reference to the point instead of a copy --- Packages/Nef_3/include/CGAL/Nef_3/SNC_const_decorator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/Nef_3/include/CGAL/Nef_3/SNC_const_decorator.h b/Packages/Nef_3/include/CGAL/Nef_3/SNC_const_decorator.h index c993ba0d967..ee5b730115b 100644 --- a/Packages/Nef_3/include/CGAL/Nef_3/SNC_const_decorator.h +++ b/Packages/Nef_3/include/CGAL/Nef_3/SNC_const_decorator.h @@ -200,7 +200,7 @@ public: // attributes:: const Point_3& point(Vertex_const_handle v) const { return v->point(); } - Sphere_point tmp_point(Halfedge_const_handle e) const + const Sphere_point& tmp_point(Halfedge_const_handle e) const { return e->tmp_point(); } Sphere_point calc_point(Halfedge_const_handle e) const { CGAL_nef3_assertion(twin(e)!=Halfedge_const_handle());