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

Face property of type T. More...

#include <pmp/SurfaceMesh.h>

Inherits Property< T >.

Public Member Functions

 FaceProperty ()
 default constructor More...
 
Property< T >::reference operator[] (Face f)
 access the data stored for face f More...
 
Property< T >::const_reference operator[] (Face f) const
 access the data stored for face f More...
 

Detailed Description

template<class T>
class pmp::FaceProperty< T >

Face property of type T.

Constructor & Destructor Documentation

◆ FaceProperty()

FaceProperty ( )
inlineexplicit

default constructor

Member Function Documentation

◆ operator[]() [1/2]

Property< T >::reference operator[] ( Face  f)
inline

access the data stored for face f

◆ operator[]() [2/2]

Property< T >::const_reference operator[] ( Face  f) const
inline

access the data stored for face f