Faces in a combinatorial embedding. More...
#include <ogdf/basic/CombinatorialEmbedding.h>
Public Member Functions | |
const ConstCombinatorialEmbedding * | embeddingOf () const |
adjEntry | firstAdj () const |
Returns the first adjacency element in the face. More... | |
int | index () const |
Returns the index of the face. More... | |
adjEntry | nextFaceEdge (adjEntry adj) const |
Returns the successor of adj in the list of all adjacency elements in the face. More... | |
face | pred () const |
Returns the predecessor in the list of all faces. More... | |
int | size () const |
Returns the size of the face, i.e., the number of edges in the face. More... | |
face | succ () const |
Returns the successor in the list of all faces. More... | |
Static Public Member Functions | |
static int | compare (const FaceElement &x, const FaceElement &y) |
Standard Comparer. More... | |
Public Attributes | |
internal::FaceAdjContainer | entries |
Container maintaining the adjacency entries in the face. More... | |
Private Member Functions | |
FaceElement (const ConstCombinatorialEmbedding *pEmbedding, adjEntry adjFirst, int id) | |
Creates a face with given first adjacency element adjFirst , face index id and keeps track of the owner pEmbedding for debugging. More... | |
Private Attributes | |
int | m_id |
The index of the face. More... | |
const ConstCombinatorialEmbedding * | m_pEmbedding |
int | m_size |
The size of the face. More... | |
Private Attributes inherited from ogdf::internal::GraphElement | |
GraphElement * | m_next = nullptr |
The successor in the list. More... | |
GraphElement * | m_prev = nullptr |
The predecessor in the list. More... | |
Friends | |
class | CombinatorialEmbedding |
class | ConstCombinatorialEmbedding |
class | internal::GraphList< FaceElement > |
Faces in a combinatorial embedding.
Definition at line 118 of file CombinatorialEmbedding.h.
|
inlineprivate |
Creates a face with given first adjacency element adjFirst
, face index id
and keeps track of the owner pEmbedding
for debugging.
Definition at line 133 of file CombinatorialEmbedding.h.
|
inlinestatic |
Standard Comparer.
Definition at line 170 of file CombinatorialEmbedding.h.
|
inline |
Definition at line 166 of file CombinatorialEmbedding.h.
|
inline |
Returns the first adjacency element in the face.
Definition at line 148 of file CombinatorialEmbedding.h.
|
inline |
Returns the index of the face.
Definition at line 145 of file CombinatorialEmbedding.h.
Returns the successor of adj
in the list of all adjacency elements in the face.
Definition at line 160 of file CombinatorialEmbedding.h.
|
inline |
Returns the predecessor in the list of all faces.
Definition at line 157 of file CombinatorialEmbedding.h.
|
inline |
Returns the size of the face, i.e., the number of edges in the face.
Definition at line 151 of file CombinatorialEmbedding.h.
|
inline |
Returns the successor in the list of all faces.
Definition at line 154 of file CombinatorialEmbedding.h.
|
friend |
Definition at line 120 of file CombinatorialEmbedding.h.
|
friend |
Definition at line 119 of file CombinatorialEmbedding.h.
|
friend |
Definition at line 121 of file CombinatorialEmbedding.h.
internal::FaceAdjContainer ogdf::FaceElement::entries |
Container maintaining the adjacency entries in the face.
Definition at line 142 of file CombinatorialEmbedding.h.
|
private |
The index of the face.
Definition at line 124 of file CombinatorialEmbedding.h.
|
private |
Definition at line 128 of file CombinatorialEmbedding.h.
|
private |
The size of the face.
Definition at line 125 of file CombinatorialEmbedding.h.