Merge pull request #949 from janetournois/BGL-fix_conversion_of_boundary_halfedges-jtournois

BGL convert_surface_mesh : convert also boundary halfedges
This commit is contained in:
Laurent Rineau 2016-03-31 10:54:29 +02:00
commit 4025913a8e
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ namespace CGAL {
}
do {
h2h.insert(std::make_pair(shd, thd));
if (face(opposite(shd, sm), sm) == boost::graph_traits<SourceMesh>::null_face())
h2h.insert(std::make_pair(opposite(shd, sm), opposite(thd, tm)));
shd = next(shd,sm);
thd = next(thd,tm);
}while(shd != done);