|
CGAL 4.7 - 2D Straight Skeleton and Polygon Offsetting
|
Introduction
A model for the VertexContainer_2 concept defines the requirements for a resizable container of 2D points. It is used to output the offset polygons generated by the Polygon_offset_builder_2<Ssds,Gt,Container> class.
Any standard BackInsertionSequence, such as std::vector, std::list or std::deque, with a value_type being a model of the Kernel::Point_2 concept.
Types | |
| typedef unspecified_type | Point_2 |
| A 2D point type used to represent a vertex. More... | |
| typedef unspecified_type | size_type |
| A unsigned integral type that can represent the number of vertices in the container. More... | |
Creation | |
| VertexContainer_2 () | |
| Default constructor. More... | |
| size_type | size () const |
| Returns the number of vertices in the container. More... | |
| void | push_back (Point_2 const &v) const |
| Adds the vertex v to the container, resizing its capacity if required. More... | |
A 2D point type used to represent a vertex.
Must be a model of the Kernel::Point_2 concept
A unsigned integral type that can represent the number of vertices in the container.
| VertexContainer_2::VertexContainer_2 | ( | ) |
Default constructor.
| void VertexContainer_2::push_back | ( | Point_2 const & | v | ) | const |
Adds the vertex v to the container, resizing its capacity if required.
| size_type VertexContainer_2::size | ( | ) | const |
Returns the number of vertices in the container.