Easy3D 2.5.3
|
#include <poly_mesh.h>
Public Member Functions | |
Cell (int _idx=-1) | |
default constructor (with invalid index) | |
std::ostream & | operator<< (std::ostream &os) const |
Public Member Functions inherited from PolyMesh::BaseHandle | |
BaseHandle (int _idx=-1) | |
constructor | |
int | idx () const |
Get the underlying index of this handle. | |
void | reset () |
reset handle to be invalid (index=-1) | |
bool | is_valid () const |
return whether the handle is valid, i.e., the index is not equal to -1. | |
bool | operator== (const BaseHandle &_rhs) const |
are two handles equal? | |
bool | operator!= (const BaseHandle &_rhs) const |
are two handles different? | |
bool | operator< (const BaseHandle &_rhs) const |
compare operator useful for sorting handles | |
this type represents a polyhedral cell (internally it is basically an index)