From ded46066c1cb852cd28ec1617eda2ddc76eaa1bf Mon Sep 17 00:00:00 2001 From: Clement Jamin Date: Tue, 6 Sep 2016 15:23:28 +0200 Subject: [PATCH] Fix identation --- .../include/CGAL/Regular_triangulation.h | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Triangulation/include/CGAL/Regular_triangulation.h b/Triangulation/include/CGAL/Regular_triangulation.h index 40196f01feb..fa73788cef3 100644 --- a/Triangulation/include/CGAL/Regular_triangulation.h +++ b/Triangulation/include/CGAL/Regular_triangulation.h @@ -598,7 +598,7 @@ Regular_triangulation { int v_idx = (*it)->index(v); tds().associate_vertex_with_full_cell(*it, v_idx, infinite_vertex()); - } + } // Make the handles to infinite full cells searchable infinite_simps.make_searchable(); // Then, modify the neighboring relation @@ -815,7 +815,7 @@ Regular_triangulation geom_traits().point_weight_d_object(); if (pw(p) == pw(v->point())) - return v; + return v; // If dim == 0 and the new point has a bigger weight, // we just replace the point, and the former point gets hidden else if (current_dimension() == 0) @@ -823,11 +823,11 @@ Regular_triangulation if (pw(p) > pw(v->point())) { m_hidden_points.push_back(v->point()); - v->set_point(p); - return v; - } + v->set_point(p); + return v; + } // Otherwise, the new point is hidden - else + else { m_hidden_points.push_back(p); return Vertex_handle(); @@ -838,7 +838,7 @@ Regular_triangulation // !NO break here! } default: - return insert_in_conflicting_cell(p, s); + return insert_in_conflicting_cell(p, s); } } @@ -874,7 +874,7 @@ Regular_triangulation && inf_v_index == 0) { inf_v_cell->swap_vertices(current_dimension() - 1, current_dimension()); - } + } else { inf_v_cell = inf_v_cell->neighbor((inf_v_index + 1) % 2); @@ -910,16 +910,16 @@ Regular_triangulation typename RTTraits::Point_weight_d pw = geom_traits().point_weight_d_object(); if (pw(p) == pw(v->point())) - return v; + return v; // If dim == 0 and the new point has a bigger weight, // we replace the point else if (current_dimension() == 0) - { + { if (pw(p) > pw(v->point())) v->set_point(p); else return v; - } + } // Otherwise, we apply the "normal" algorithm // !NO break here! @@ -997,7 +997,7 @@ Regular_triangulation points[i] = &(s->vertex(i)->point()); points[i] = &p; std::sort(points.begin(), points.end(), - internal::Triangulation::Compare_points_for_perturbation(*this)); + internal::Triangulation::Compare_points_for_perturbation(*this)); typename Points::const_reverse_iterator cut_pt = points.rbegin(); Points test_points; while( cut_pt != points.rend() )