mirror of https://github.com/CGAL/cgal
Ron: Bugfix for not matched subcurve-index
This commit is contained in:
parent
22c50d5979
commit
6bdc4740f7
|
|
@ -845,7 +845,15 @@ void Arr_construction_sl_visitor<Hlpr>::relocate_in_new_face
|
|||
|
||||
for (itr = indices_list.begin(); itr != indices_list.end(); ++itr)
|
||||
{
|
||||
CGAL_assertion(*itr != 0 && *itr < m_sc_he_table.size());
|
||||
CGAL_assertion(*itr != 0);
|
||||
|
||||
// In case the current subcurve index does not match a valid entry in
|
||||
// m_sc_he_table, we know that this subcurve matches a halfedge that is
|
||||
// not yet mapped. This can happen only if this halfedge is he itself.
|
||||
// As we know that he lies on the outer CCB of the new face, it is
|
||||
// definately not a hole in the face, therefore we can ignore it.
|
||||
if (*itr >= m_sc_he_table.size())
|
||||
continue;
|
||||
|
||||
Halfedge_handle he_on_face = m_sc_he_table[*itr];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue