From c8a7b8864fef920f6bf403549f6e080c32aa1f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 18 Nov 2022 00:18:49 +0100 Subject: [PATCH] Remove garbage in P3T3::move_point(): currently it is only remove + insert --- .../CGAL/Periodic_3_Delaunay_triangulation_3.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h index 8bb160d07d2..5033e6329bd 100644 --- a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h +++ b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h @@ -926,17 +926,8 @@ Periodic_3_Delaunay_triangulation_3:: move_point(Vertex_handle v, const Point& p) { CGAL_triangulation_expensive_precondition(is_vertex(v)); - // Remember an incident vertex to restart - // the point location after the removal. - // Cell_handle c = v->cell(); - //Vertex_handle old_neighbor = c->vertex(c->index(v) == 0 ? 1 : 0); - // CGAL_triangulation_assertion(old_neighbor != v); - remove(v); - - if(number_of_vertices() == 0) - return insert(p); - return insert(p);//, old_neighbor->cell()); + return insert(p); } template < class Gt, class Tds >