mirror of https://github.com/CGAL/cgal
Merge pull request #1962 from sloriot/AOS_2-fix_precond_trap_decomp
Fix precondition in Trapezoidal_decomposition_2
This commit is contained in:
commit
e3b6f20ac8
|
|
@ -1537,9 +1537,7 @@ bool Trapezoidal_decomposition_2<Td_traits>
|
|||
typename Arrangement_on_surface_2::Halfedge_around_vertex_const_circulator first, second;
|
||||
first = second = v->incident_halfedges();
|
||||
++second;
|
||||
if (he->source() == v)
|
||||
he = he->twin();
|
||||
CGAL_assertion(he == first);
|
||||
|
||||
if (second == first) //if he is the only halfedge around v -> return true
|
||||
return true;
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue