mirror of https://github.com/CGAL/cgal
Apply suggestions from code review
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
This commit is contained in:
parent
2d9186184d
commit
0efc2cdc03
|
|
@ -646,8 +646,9 @@ avoid the simplification for edge pairs referenced by |e|.}*/
|
||||||
for (f = this->faces_begin(); f != fend; f=fn) {
|
for (f = this->faces_begin(); f != fend; f=fn) {
|
||||||
fn=f; ++fn;
|
fn=f; ++fn;
|
||||||
Union_find_handle pit = Pitem[f];
|
Union_find_handle pit = Pitem[f];
|
||||||
if (unify_faces.find(pit) != pit) {
|
|
||||||
Union_find_handle root = unify_faces.find(pit);
|
Union_find_handle root = unify_faces.find(pit);
|
||||||
|
if (root != pit) {
|
||||||
|
|
||||||
for(Isolated_vertex_iterator ivi = isolated_vertices_begin(f); ivi != isolated_vertices_end(f); ++ivi){
|
for(Isolated_vertex_iterator ivi = isolated_vertices_begin(f); ivi != isolated_vertices_end(f); ++ivi){
|
||||||
ivi->set_face(*root);
|
ivi->set_face(*root);
|
||||||
link_as_isolated_vertex(*root,ivi);
|
link_as_isolated_vertex(*root,ivi);
|
||||||
|
|
|
||||||
|
|
@ -167,7 +167,7 @@ public:
|
||||||
Point_2 target(const ISegment& is) const
|
Point_2 target(const ISegment& is) const
|
||||||
{ return K.target(is->first()); }
|
{ return K.target(is->first()); }
|
||||||
|
|
||||||
ITERATOR original(xonst ISegment& s) const
|
ITERATOR original(const ISegment& s) const
|
||||||
{ return s->second(); }
|
{ return s->second(); }
|
||||||
|
|
||||||
int orientation(ST_item sit, const Point_2& p) const
|
int orientation(ST_item sit, const Point_2& p) const
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue