Add is_empty() as an alias to empty() as this is the CGAL nmaing convention

This commit is contained in:
Andreas Fabri 2014-11-25 12:40:50 +01:00
parent 4ad6156645
commit c243c20e57
1 changed files with 2 additions and 0 deletions

View File

@ -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();