\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12.1 - 2D Straight Skeleton and Polygon Offsetting

Definition

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.

Has Models:

CGAL::Polygon_2

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.
 

Member Typedef Documentation

◆ Point_2

A 2D point type used to represent a vertex.

Must be a model of the Kernel::Point_2 concept