From c243c20e57d44f388c4d1c51b80f4a5953d9bd80 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 25 Nov 2014 12:40:50 +0100 Subject: [PATCH] Add is_empty() as an alias to empty() as this is the CGAL nmaing convention --- Polyhedron/include/CGAL/Polyhedron_3.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Polyhedron/include/CGAL/Polyhedron_3.h b/Polyhedron/include/CGAL/Polyhedron_3.h index 82342babc89..66e8e9ab4de 100644 --- a/Polyhedron/include/CGAL/Polyhedron_3.h +++ b/Polyhedron/include/CGAL/Polyhedron_3.h @@ -785,6 +785,8 @@ public: bool empty() const { return size_of_halfedges() == 0; } + bool is_empty() const { return size_of_halfedges() == 0; } + size_type capacity_of_vertices() const { // space reserved for vertices. return hds_.capacity_of_vertices();