mirror of https://github.com/CGAL/cgal
Aded clear_outer_boundary()
This commit is contained in:
parent
1217504e23
commit
74746e57ea
|
|
@ -12,7 +12,8 @@
|
||||||
// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
|
// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author(s) : Baruch Zukerman <baruchzu@post.tau.ac.il>
|
// Author(s): Baruch Zukerman <baruchzu@post.tau.ac.il>
|
||||||
|
// Efi Fogel <efifogel@gmail.com>
|
||||||
|
|
||||||
#ifndef CGAL_GENERAL_POLYGON_WITH_HOLES_2_H
|
#ifndef CGAL_GENERAL_POLYGON_WITH_HOLES_2_H
|
||||||
#define CGAL_GENERAL_POLYGON_WITH_HOLES_2_H
|
#define CGAL_GENERAL_POLYGON_WITH_HOLES_2_H
|
||||||
|
|
@ -107,6 +108,8 @@ public:
|
||||||
|
|
||||||
void erase_hole(Hole_iterator hit) { m_holes.erase(hit); }
|
void erase_hole(Hole_iterator hit) { m_holes.erase(hit); }
|
||||||
|
|
||||||
|
void clear_outer_boundary() { m_pgn.clear(); }
|
||||||
|
|
||||||
void clear_holes() { m_holes.clear(); }
|
void clear_holes() { m_holes.clear(); }
|
||||||
|
|
||||||
bool has_holes() const { return (!m_holes.empty()); }
|
bool has_holes() const { return (!m_holes.empty()); }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue