From 0ff972fbaac2162b242b86f8bd29a193029257d4 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 3 Mar 2022 14:48:28 +0000 Subject: [PATCH] Document general polygon funtion returning range of holes --- .../doc/Polygon/Concepts/GeneralPolygonWithHoles_2.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Polygon/doc/Polygon/Concepts/GeneralPolygonWithHoles_2.h b/Polygon/doc/Polygon/Concepts/GeneralPolygonWithHoles_2.h index 7488f20a2d7..da1061323f5 100644 --- a/Polygon/doc/Polygon/Concepts/GeneralPolygonWithHoles_2.h +++ b/Polygon/doc/Polygon/Concepts/GeneralPolygonWithHoles_2.h @@ -29,6 +29,12 @@ typedef unspecified_type Polygon_2; */ typedef unspecified_type Hole_const_iterator; + +/*! +range type for iterating over holes. +*/ +typedef unspecified_type Holes_container; + /// @} /// \name Creation @@ -73,6 +79,12 @@ Hole_const_iterator holes_begin() const; */ Hole_const_iterator holes_end() const; + +/*! +returns the range of holes. +*/ +const Holes_container& holes() const; + /// @} }; /* end GeneralPolygonWithHoles_2 */