#include <FaceSet.h>
Public Member Functions | |
| FaceSetPure (const CombinatorialEmbedding &E) | |
| creates a new empty face set associated with combinatorial embedding E | |
| ~FaceSetPure () | |
| destructor | |
| void | insert (face f) |
| inserts face f into set S | |
| void | remove (face f) |
| removes face f from set S | |
| void | clear () |
| removes all faces from set S | |
| bool | isMember (face f) const |
| returns true iff face f is contained in S | |
| const ListPure< face > & | faces () const |
| returns the list of faces contained in S | |
Private Attributes | |
| FaceArray< ListIterator< face > > | m_it |
| m_it[f] contains list iterator pointing to f if f is contained in S, an invalid list iterator otherwise | |
| ListPure< face > | m_faces |
| list of faces contained in S | |
(no efficient access to size of S)
Definition at line 131 of file FaceSet.h.
| ogdf::FaceSetPure::FaceSetPure | ( | const CombinatorialEmbedding & | E | ) | [inline] |
| void ogdf::FaceSetPure::insert | ( | face | f | ) | [inline] |
| void ogdf::FaceSetPure::remove | ( | face | f | ) | [inline] |
| void ogdf::FaceSetPure::clear | ( | ) | [inline] |
| bool ogdf::FaceSetPure::isMember | ( | face | f | ) | const [inline] |
FaceArray<ListIterator<face> > ogdf::FaceSetPure::m_it [private] |
ListPure<face> ogdf::FaceSetPure::m_faces [private] |