mirror of https://github.com/CGAL/cgal
init the corner id map
This commit is contained in:
parent
caa1daa98e
commit
ab023626e0
|
|
@ -397,6 +397,12 @@ detect_corners_of_regions(
|
||||||
put(ecm, e, true);
|
put(ecm, e, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//init to -1 by default
|
||||||
|
for(vertex_descriptor v : vertices(mesh))
|
||||||
|
{
|
||||||
|
put(corner_id_map, v, std::size_t(-1));
|
||||||
|
}
|
||||||
|
|
||||||
// filter trivial edges: incident to a plane with only one face
|
// filter trivial edges: incident to a plane with only one face
|
||||||
// such an edge cannot be removed and its vertices are corners
|
// such an edge cannot be removed and its vertices are corners
|
||||||
std::vector<int> nb_faces_per_patch(nb_regions,0);
|
std::vector<int> nb_faces_per_patch(nb_regions,0);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue