#include <Concepts/MultipolygonWithHoles_2.h>
- Refines
CopyConstructible
Assignable
DefaultConstructible
A model of this concept represents a multipolygon with holes.
- Has models
CGAL::Multipolygon_with_holes_2<Polygon>
|
typedef unspecified_type | Polygon_with_holes_2 |
| the polygon type used to represent each polygon with holes of the multipolygon.
|
|
typedef unspecified_type | Polygon_with_holes_iterator |
| a bidirectional iterator over the polygons with holes.
|
|
typedef unspecified_type | Polygon_with_holes_const_iterator |
| a bidirectional const iterator over the polygons with holes.
|
|
typedef unspecified_type | Polygon_with_holes_container |
| range type for iterating over polygons with holes.
|
|
typedef unsigned int | Size |
| size type
|
|
|
template<typename InputIterator > |
| MultipolygonWithHoles_2 (InputIterator begin, InputIterator end) |
| constructs a multipolygon using a range of polygons with holes.
|
|
|
Size | number_of_polygons_wih_holes () |
| returns the number of polygons with holes.
|
|
|
void | add_polygon_with_holes (const Polygon_with_holes_2 &polygon) |
| adds a given polygon with holes to the multipolygon.
|
|
void | erase_polygon_with_holes (Polygon_with_holes_const_iterator pit) |
| erases the specified polygon.
|
|
void | clear () |
| removes all the polygons with holes.
|
|
◆ Polygon_with_holes_const_iterator
a bidirectional const iterator over the polygons with holes.
Its value type is Polygon_with_holes_2
.
◆ Polygon_with_holes_iterator
a bidirectional iterator over the polygons with holes.
Its value type is Polygon_with_holes_2
.