mirror of https://github.com/CGAL/cgal
Guarded for unbounded faces
This commit is contained in:
parent
3b24522834
commit
6eb52494c6
|
|
@ -149,11 +149,13 @@ public:
|
|||
// std::cout << "add_face()\n";
|
||||
for(Inner_ccb_const_iterator it = face->inner_ccbs_begin(); it != face->inner_ccbs_end(); ++it) add_ccb(*it);
|
||||
|
||||
if (! face->is_unbounded()) {
|
||||
for(Outer_ccb_const_iterator it = face->outer_ccbs_begin(); it != face->outer_ccbs_end(); ++it) {
|
||||
add_ccb(*it);
|
||||
draw_region(*it);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Add a Connected Component of the Boundary.
|
||||
void add_ccb(Ccb_halfedge_const_circulator circ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue