From 1cf6e0bcbe10d8de91fec085d48495067d0cf7ed Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 4 Mar 2022 08:30:36 +0000 Subject: [PATCH] Document the function --- Polygon/include/CGAL/Polygon_2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Polygon/include/CGAL/Polygon_2.h b/Polygon/include/CGAL/Polygon_2.h index 481207663ab..e208a80b1b6 100644 --- a/Polygon/include/CGAL/Polygon_2.h +++ b/Polygon/include/CGAL/Polygon_2.h @@ -281,6 +281,7 @@ class Polygon_2 { Vertex_const_iterator vertices_end() const { return const_cast(*this).d_container.end(); } + /// returns the range of vertices. const Vertices& vertices() const { return d_container; @@ -307,6 +308,7 @@ class Polygon_2 { Edge_const_iterator edges_end() const { return Edge_const_iterator(&d_container, d_container.end()); } + /// returns the range of edges. Edges edges() const { return make_range(edges_begin(),edges_end());