GitHub link
Polygon Mesh Processing Library
VertexProperty< T > Class Template Reference

Vertex property of type T. More...

#include <pmp/SurfaceMesh.h>

Inherits Property< T >.

Public Member Functions

 VertexProperty ()=default
 default constructor More...
 
Property< T >::reference operator[] (Vertex v)
 access the data stored for vertex v More...
 
Property< T >::const_reference operator[] (Vertex v) const
 access the data stored for vertex v More...
 

Detailed Description

template<class T>
class pmp::VertexProperty< T >

Vertex property of type T.

Constructor & Destructor Documentation

◆ VertexProperty()

VertexProperty ( )
explicitdefault

default constructor

Member Function Documentation

◆ operator[]() [1/2]

Property< T >::reference operator[] ( Vertex  v)
inline

access the data stored for vertex v

◆ operator[]() [2/2]

Property< T >::const_reference operator[] ( Vertex  v) const
inline

access the data stored for vertex v