CGAL 5.1 - 2D Triangulation
TriangulationVertexBaseWithInfo_2 Class Reference

#include <Concepts/TriangulationVertexBaseWithInfo_2.h>

Definition

A type model of this concept can be used as vertex base by a triangulation and provides an additional information storage.

Refines:
TriangulationVertexBase_2
Has Models:
CGAL::Triangulation_vertex_base_with_info_2

Types

typedef unspecified_type Info
 A type which is DefaultConstructible and Assignable. More...
 

Access Functions

const Infoinfo () const
 returns a const reference to the object of type Info stored in the vertex. More...
 
Infoinfo ()
 returns a reference to the object of type Info stored in the vertex. More...
 

Member Typedef Documentation

◆ Info

typedef unspecified_type TriangulationVertexBaseWithInfo_2::Info

A type which is DefaultConstructible and Assignable.

Member Function Documentation

◆ info() [1/2]

Info& TriangulationVertexBaseWithInfo_2::info ( )

returns a reference to the object of type Info stored in the vertex.

◆ info() [2/2]

const Info& TriangulationVertexBaseWithInfo_2::info ( ) const

returns a const reference to the object of type Info stored in the vertex.