DGtal 2.0.0
|
#include <DGtal/topology/DigitalSurface.h>
Public Member Functions | |
Face (const UmbrellaState &aState, unsigned int nb, bool aIsClosed) | |
bool | isClosed () const |
bool | operator== (const Face &other) const |
bool | operator< (const Face &other) const |
Data Fields | |
UmbrellaState | state |
unsigned int | nbVertices |
number of vertices incident to face. | |
bool | closed |
tells if the face is closed or open. |
Defines a face on the digital surface, i.e. an umbrella (open or closed) around a pivot cell (n-3-cell). To be able to compare faces, the face is characterized by one of its possible states. If the face is closed, the representative state is the smallest one. If the face is open, the representative state is the first (applying previous() does not move).
Definition at line 278 of file DigitalSurface.h.
|
inline |
Definition at line 283 of file DigitalSurface.h.
References closed, nbVertices, and state.
Referenced by operator<(), and operator==().
|
inline |
|
inline |
|
inline |
bool DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::closed |
tells if the face is closed or open.
Definition at line 282 of file DigitalSurface.h.
Referenced by Face(), and isClosed().
unsigned int DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::nbVertices |
number of vertices incident to face.
Definition at line 281 of file DigitalSurface.h.
Referenced by Face().
UmbrellaState DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::state |
stores a state from which the whole umbrella can be recomputed.
Definition at line 279 of file DigitalSurface.h.
Referenced by Face(), operator<(), and operator==().