Easy3D 2.5.3
|
#include <poly_mesh.h>
Public Member Functions | |
CellProperty ()=default | |
default constructor | |
CellProperty (Property< T > p) | |
Property< T >::reference | operator[] (Cell c) |
access the data stored for Cell c | |
Property< T >::const_reference | operator[] (Cell c) const |
access the data stored for Cell c | |
Public Member Functions inherited from Property< T > | |
Property (PropertyArray< T > *p=nullptr) | |
void | reset () |
operator bool () const | |
virtual reference | operator[] (size_t i) |
virtual const_reference | operator[] (size_t i) const |
const T * | data () const |
std::vector< T > & | vector () |
const std::vector< T > & | vector () const |
PropertyArray< T > & | array () |
const PropertyArray< T > & | array () const |
const std::string & | name () const |
Return the name of the property. | |
void | set_name (const std::string &n) |
Set the name of the property. | |
Additional Inherited Members | |
Public Types inherited from Property< T > | |
typedef PropertyArray< T >::reference | reference |
typedef PropertyArray< T >::const_reference | const_reference |
Cell property of type T