Face sets. More...
#include <ogdf/basic/FaceSet.h>
Public Member Functions | |
| FaceSetPure (const CombinatorialEmbedding &E) | |
Creates an empty node set associated with combinatorial embedding E. More... | |
| ~FaceSetPure () | |
| void | clear () |
| Removes all faces from S. More... | |
| const ListPure< face > & | faces () const |
| Returns a reference to the list of faces contained in S. More... | |
| void | insert (face f) |
Inserts face f into S. More... | |
| bool | isMember (face f) const |
Returns true if face f is contained in S, false otherwise. More... | |
| void | remove (face f) |
Removes face f from S. More... | |
Private Attributes | |
| ListPure< face > | m_faces |
| The list of faces contained in S. More... | |
| FaceArray< ListIterator< face > > | m_it |
| m_it[f] contains the list iterator pointing to f if f is contained in S, an invalid list iterator otherwise. More... | |
Face sets.
A face set maintains a subset S of the faces contained in an associated combinatorial embedding. This kind of face set provides efficient operations for testing membership, insertion and deletion of elements, and clearing the set.
In contrast to FaceSet, a FaceSetPure does not provide efficient access to the number of faces stored in the set.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |