From b5a5a8293078075a9a6b11f7cbbcd9f500c0664c Mon Sep 17 00:00:00 2001 From: Clement Jamin Date: Mon, 7 Jul 2014 19:07:46 +0200 Subject: [PATCH] Use s_iterator_to --- Mesh_3/include/CGAL/Mesh_3/Triangulation_helpers.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mesh_3/include/CGAL/Mesh_3/Triangulation_helpers.h b/Mesh_3/include/CGAL/Mesh_3/Triangulation_helpers.h index 200d4f816e5..c9a2a4194bc 100644 --- a/Mesh_3/include/CGAL/Mesh_3/Triangulation_helpers.h +++ b/Mesh_3/include/CGAL/Mesh_3/Triangulation_helpers.h @@ -263,8 +263,10 @@ no_topological_change__without_set_point( c_copy.set_vertex(i_v0, Tr::Triangulation_data_structure::Vertex_range::s_iterator_to(v)); } - - if(tr.side_of_power_sphere(&c_copy, pg(cj->vertex(mj)), false) + + Cell_handle c_copy_h = + Tr::Triangulation_data_structure::Cell_range::s_iterator_to(c_copy); + if(tr.side_of_power_sphere(c_copy_h, pg(cj->vertex(mj)), false) != CGAL::ON_UNBOUNDED_SIDE) { np = false;