mirror of https://github.com/CGAL/cgal
fix compilation errors
This commit is contained in:
parent
f27bb9168c
commit
1bb8b69f17
|
|
@ -435,9 +435,9 @@ public:
|
||||||
template<class Iterator>
|
template<class Iterator>
|
||||||
void annotate_graph(Iterator begin,Iterator end){
|
void annotate_graph(Iterator begin,Iterator end){
|
||||||
for(Iterator it=begin;it!=end;++it){
|
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())
|
if (it_res!=node_infos.end())
|
||||||
it->second.make_terminal();
|
it->make_terminal();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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(P, faces,0.1);
|
||||||
CGAL::Polygon_mesh_processing::isotropic_remeshing(
|
CGAL::Polygon_mesh_processing::isotropic_remeshing(
|
||||||
faces,0.3, union_,
|
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");
|
output.open("P_union_Q_remeshed.off");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue