#include <Concepts/MultiPolygonWithHoles_2.h>
- Refines
CopyConstructible
Assignable
DefaultConstructible
A model of this concept represents a multipolygon with holes. The concept requires the ability to store the polygons with holes that the multipolygon is composed of.
- Has Models:
CGAL::Multipolygon_with_holes_2<Polygon>
|
Size | number_of_polygons () |
| returns the number of polygons.
|
|
|
void | add_polygon (const Polygon_with_holes_2 &polygon) |
| adds a given polygon to the multipolygon.
|
|
void | erase_polygon (Polygon_iterator pit) |
| erases the specified polygon.
|
|
void | clear () |
| removes all the polygons.
|
|
◆ Polygon_const_iterator
a bidirectional iterator over the polygons.
Its value type is Polygon_with_holes_2
.