Remove garbage in P3T3::move_point(): currently it is only remove + insert

This commit is contained in:
Mael Rouxel-Labbé
2022-11-18 00:18:49 +01:00
parent 32fed3ea7c
commit c8a7b8864f
@@ -926,17 +926,8 @@ Periodic_3_Delaunay_triangulation_3<Gt,Tds>::
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 >