DGtal 1.3.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. More... | |
bool | closed |
tells if the face is closed or open. More... | |
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.
|
inline |
Definition at line 287 of file DigitalSurface.h.
References DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::closed.
|
inline |
Definition at line 293 of file DigitalSurface.h.
References DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::state.
|
inline |
Definition at line 289 of file DigitalSurface.h.
References DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::state.
bool DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::closed |
tells if the face is closed or open.
Definition at line 282 of file DigitalSurface.h.
Referenced by DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::isClosed().
unsigned int DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::nbVertices |
number of vertices incident to face.
Definition at line 281 of file DigitalSurface.h.
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 DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::operator<(), and DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::operator==().