mirror of https://github.com/CGAL/cgal
A contribution from a user: | Date: Tue, 03 Sep 2013 22:34:20 +0200 | From: ax487 <ax487@gmx.de> | To: cgal-discuss@inria.fr | Subject: [cgal-discuss] Suggested patch: Making polygon modification | easier. | | Hello all, | | I have been working with polygons now for a while and i noticed that | there are some inconveniences regarding the removal of vertices of a | polygon: If I remove an iterator from a normal C++ container modeling | an ordered sequence, then the method returns an iterator pointing to | the next element. This should (?) also be true for the container used | in the polygon (at least it is in the case of a std::vector or a | std::list). The attached patch turns this iterator into a | Vertex_iterator which can be used in subsequent operations. This change | should be downward compatible, so I hope it is possible to include the | patch in CGAL. |
||
|---|---|---|
| .. | ||
| Polygon_2 | ||
| Polygon_2.h | ||
| Polygon_2_algorithms.h | ||
| Polygon_traits_2.h | ||