mirror of https://github.com/CGAL/cgal
Guard for unbounded faces
This commit is contained in:
parent
750b099594
commit
beee32e945
|
|
@ -65,6 +65,7 @@ namespace draw_function_for_arrangement_2
|
|||
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)
|
||||
{
|
||||
|
|
@ -72,6 +73,7 @@ namespace draw_function_for_arrangement_2
|
|||
draw_region(*it);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Add a Connected Component of the Boundary.
|
||||
void add_ccb(Ccb_halfedge_const_circulator circ)
|
||||
|
|
|
|||
Loading…
Reference in New Issue