Patate Lib  0.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
PatateCommon::SurfaceMesh::FaceProperty< T > Class Template Reference

Inherits PatateCommon::Property< T >.

Detailed Description

template<class T>
class PatateCommon::SurfaceMesh::FaceProperty< T >

Face property of type T

See Also
VertexProperty, HalfedgeProperty, EdgeProperty

Public Member Functions

 FaceProperty ()
 default constructor
 
 FaceProperty (Property< T > p)
 
Property< T >::Reference operator[] (Face f)
 access the data stored for face f
 
Property< T >::ConstReference operator[] (Face f) const
 access the data stored for face f
 
- Public Member Functions inherited from PatateCommon::Property< T >
 Property (PropertyArray< T > *p=NULL)
 
void reset ()
 
 operator bool () const
 
Reference operator[] (int i)
 
ConstReference operator[] (int i) const
 
const T * data () const
 
std::vector< T > & vector ()
 

Additional Inherited Members

- Public Types inherited from PatateCommon::Property< T >
typedef PropertyArray< T >
::Reference 
Reference
 
typedef PropertyArray< T >
::ConstReference 
ConstReference