CGAL 5.0.1 - 2D Straight Skeleton and Polygon Offsetting
VertexContainer_2 Concept Reference

## Definition

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.

Has Models:

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.

## Creation

VertexContainer_2 ()
Default constructor.

size_type size () const
Returns the number of vertices in the container.

void push_back (Point_2 const &v) const
Adds the vertex v to the container, resizing its capacity if required.

## ◆ Point_2

A 2D point type used to represent a vertex.

Must be a model of the Kernel::Point_2 concept