From 7ad049d14c4e26fc7f2aad9bda4feab4df5be62c Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Thu, 18 Jun 2015 11:00:08 +0200 Subject: [PATCH] don't use status visitor, it is not enough to keep halfedges status up-to-date --- .../CGAL/Polygon_mesh_processing/internal/remesh_impl.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/remesh_impl.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/remesh_impl.h index ac7ee3c647a..3e1eb259c23 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/remesh_impl.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/remesh_impl.h @@ -150,8 +150,6 @@ namespace internal { typedef CGAL::AABB_traits Traits; typedef CGAL::AABB_tree AABB_tree; - typedef Status_map_visitor Status_visitor; - public: Incremental_remesher(PolygonMesh& pmesh , VertexPointMap& vpmap @@ -578,13 +576,8 @@ namespace internal { }//end if(collapse_ok) } - Status_visitor visitor(halfedge_status_map_, mesh_); - boost::tuple, - boost::reference_wrapper > - g_with_visitor = CGAL::make_graph_with_visitor(visitor, mesh_); - std::size_t n = PMP::remove_degenerate_faces( - g_with_visitor + mesh_ , PMP::parameters::vertex_point_map(vpmap_) .geom_traits(GeomTraits()));