fix compilation errors

This commit is contained in:
Sébastien Loriot 2016-09-30 17:06:10 +02:00
parent f27bb9168c
commit 1bb8b69f17
2 changed files with 3 additions and 3 deletions

View File

@ -435,9 +435,9 @@ public:
template<class Iterator>
void annotate_graph(Iterator begin,Iterator end){
for(Iterator it=begin;it!=end;++it){
typename Node_to_infos_map::iterator it_res=node_infos.find(it->first);
typename Node_to_infos_map::iterator it_res=node_infos.find(std::distance(begin, it));
if (it_res!=node_infos.end())
it->second.make_terminal();
it->make_terminal();
}
}

View File

@ -207,7 +207,7 @@ int main(int argc,char** argv) {
//~ CGAL::Polygon_mesh_processing::isotropic_remeshing(P, faces,0.1);
CGAL::Polygon_mesh_processing::isotropic_remeshing(
faces,0.3, union_,
PMP::parameters::edge_is_constrained_map(Edge_mark_property_map<Polyhedron>()).number_of_iterations(15).smooth_along_features(true)
PMP::parameters::edge_is_constrained_map(Edge_mark_property_map<Polyhedron>()).number_of_iterations(15).relax_constraints(true)
);
output.open("P_union_Q_remeshed.off");