From ad27f5c39bf5bbd924e6b9a056ec66a77149648a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Wed, 23 Aug 2017 11:04:46 +0200 Subject: [PATCH] Readability changes in Alpha_shapes_2 --- .../include/CGAL/Alpha_shape_vertex_base_2.h | 25 ++++++------------- .../include/CGAL/internal/Lazy_alpha_nt_2.h | 1 + 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/Alpha_shapes_2/include/CGAL/Alpha_shape_vertex_base_2.h b/Alpha_shapes_2/include/CGAL/Alpha_shape_vertex_base_2.h index c818aa21a58..48d48793636 100644 --- a/Alpha_shapes_2/include/CGAL/Alpha_shape_vertex_base_2.h +++ b/Alpha_shapes_2/include/CGAL/Alpha_shape_vertex_base_2.h @@ -64,29 +64,20 @@ private: public: Alpha_shape_vertex_base_2() - : Vb() - {} + : Vb() + {} Alpha_shape_vertex_base_2(const Point & p) - : Vb(p) - {} + : Vb(p) + {} Alpha_shape_vertex_base_2(const Point & p, Face_handle f) - : Vb(p, f) - {} - + : Vb(p, f) + {} public: - - inline Interval2 get_range() - { - return I; - } - - inline void set_range(Interval2 Inter) - { - I = Inter; - } + inline Interval2 get_range() { return I; } + inline void set_range(Interval2 Inter) { I = Inter; } }; diff --git a/Alpha_shapes_2/include/CGAL/internal/Lazy_alpha_nt_2.h b/Alpha_shapes_2/include/CGAL/internal/Lazy_alpha_nt_2.h index aa9c7d1588d..3502f7d9fd1 100644 --- a/Alpha_shapes_2/include/CGAL/internal/Lazy_alpha_nt_2.h +++ b/Alpha_shapes_2/include/CGAL/internal/Lazy_alpha_nt_2.h @@ -14,6 +14,7 @@ // // Author(s) : Sébastien Loriot // Mael Rouxel-Labbé + #ifndef CGAL_INTERNAL_LAZY_ALPHA_NT_2_H #define CGAL_INTERNAL_LAZY_ALPHA_NT_2_H