diff --git a/Polygon/doc/Polygon/Concepts/MultipolygonWithHoles_2.h b/Polygon/doc/Polygon/Concepts/MultipolygonWithHoles_2.h index 917e6f91052..0992dda022c 100644 --- a/Polygon/doc/Polygon/Concepts/MultipolygonWithHoles_2.h +++ b/Polygon/doc/Polygon/Concepts/MultipolygonWithHoles_2.h @@ -22,6 +22,11 @@ typedef unspecified_type Polygon_with_holes_2; /*! a bidirectional iterator over the polygons with holes. * Its value type is `Polygon_with_holes_2`. */ +typedef unspecified_type Polygon_with_holes_iterator; + +/*! a bidirectional const iterator over the polygons with holes. + * Its value type is `Polygon_with_holes_2`. + */ typedef unspecified_type Polygon_with_holes_const_iterator; //! range type for iterating over polygons with holes. @@ -54,6 +59,14 @@ Size number_of_polygons_wih_holes(); /// \name Access Functions /// @{ +/*! returns the begin iterator of the polygons with holes. + */ +Polygon_with_holes_iterator polygons_with_holes_begin(); + +/*! returns the past-the-end iterator of the polygons with holes. + */ + Polygon_with_holes_iterator polygons_with_holes_end(); + /*! returns the begin iterator of the polygons with holes. */ Polygon_with_holes_const_iterator polygons_with_holes_begin() const; @@ -77,7 +90,7 @@ void add_polygon_with_holes(const Polygon_with_holes_2& polygon); /*! erases the specified polygon. */ -void erase_polygon_with_holes(Polygon_iterator pit); +void erase_polygon_with_holes(Polygon_with_holes_const_iterator pit); /*! removes all the polygons with holes. */