don't use status visitor, it is not enough to keep halfedges status up-to-date

This commit is contained in:
Jane Tournois 2015-06-18 11:00:08 +02:00 committed by Sébastien Loriot
parent e87c65bd3d
commit 7ad049d14c
1 changed files with 1 additions and 8 deletions

View File

@ -150,8 +150,6 @@ namespace internal {
typedef CGAL::AABB_traits<GeomTraits, Primitive> Traits; typedef CGAL::AABB_traits<GeomTraits, Primitive> Traits;
typedef CGAL::AABB_tree<Traits> AABB_tree; typedef CGAL::AABB_tree<Traits> AABB_tree;
typedef Status_map_visitor<PM> Status_visitor;
public: public:
Incremental_remesher(PolygonMesh& pmesh Incremental_remesher(PolygonMesh& pmesh
, VertexPointMap& vpmap , VertexPointMap& vpmap
@ -578,13 +576,8 @@ namespace internal {
}//end if(collapse_ok) }//end if(collapse_ok)
} }
Status_visitor visitor(halfedge_status_map_, mesh_);
boost::tuple<boost::reference_wrapper<Status_visitor>,
boost::reference_wrapper<PolygonMesh> >
g_with_visitor = CGAL::make_graph_with_visitor(visitor, mesh_);
std::size_t n = PMP::remove_degenerate_faces( std::size_t n = PMP::remove_degenerate_faces(
g_with_visitor mesh_
, PMP::parameters::vertex_point_map(vpmap_) , PMP::parameters::vertex_point_map(vpmap_)
.geom_traits(GeomTraits())); .geom_traits(GeomTraits()));