Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::FaceElement Class Reference

Faces in a combinatorial embedding. More...

#include <ogdf/basic/CombinatorialEmbedding.h>

+ Inheritance diagram for ogdf::FaceElement:

Public Member Functions

adjEntry firstAdj () const
 Returns the first adjacency element in the face.
 
int index () const
 Returns the index of the face.
 
adjEntry nextFaceEdge (adjEntry adj) const
 Returns the successor of adj in the list of all adjacency elements in the face.
 
face pred () const
 Returns the predecessor in the list of all faces.
 
int size () const
 Returns the size of the face, i.e., the number of edges in the face.
 
face succ () const
 Returns the successor in the list of all faces.
 

Static Public Member Functions

static int compare (const FaceElement &x, const FaceElement &y)
 Standard Comparer.
 

Public Attributes

internal::FaceAdjContainer entries
 Container maintaining the adjacency entries in the face.
 

Private Member Functions

 FaceElement (adjEntry adjFirst, int id)
 Creates a face with given first adjacency element adjFirst and face index id.
 

Private Attributes

int m_id
 The index of the face.
 
int m_size
 The size of the face.
 
- Private Attributes inherited from ogdf::internal::GraphElement
GraphElementm_next = nullptr
 The successor in the list.
 
GraphElementm_prev = nullptr
 The predecessor in the list.
 

Friends

class CombinatorialEmbedding
 
class ConstCombinatorialEmbedding
 
class internal::GraphList< FaceElement >
 

Detailed Description

Faces in a combinatorial embedding.

Definition at line 109 of file CombinatorialEmbedding.h.

Constructor & Destructor Documentation

◆ FaceElement()

ogdf::FaceElement::FaceElement ( adjEntry  adjFirst,
int  id 
)
inlineprivate

Creates a face with given first adjacency element adjFirst and face index id.

Definition at line 128 of file CombinatorialEmbedding.h.

Member Function Documentation

◆ compare()

static int ogdf::FaceElement::compare ( const FaceElement x,
const FaceElement y 
)
inlinestatic

Standard Comparer.

Definition at line 161 of file CombinatorialEmbedding.h.

◆ firstAdj()

adjEntry ogdf::FaceElement::firstAdj ( ) const
inline

Returns the first adjacency element in the face.

Definition at line 139 of file CombinatorialEmbedding.h.

◆ index()

int ogdf::FaceElement::index ( ) const
inline

Returns the index of the face.

Definition at line 136 of file CombinatorialEmbedding.h.

◆ nextFaceEdge()

adjEntry ogdf::FaceElement::nextFaceEdge ( adjEntry  adj) const
inline

Returns the successor of adj in the list of all adjacency elements in the face.

Definition at line 151 of file CombinatorialEmbedding.h.

◆ pred()

face ogdf::FaceElement::pred ( ) const
inline

Returns the predecessor in the list of all faces.

Definition at line 148 of file CombinatorialEmbedding.h.

◆ size()

int ogdf::FaceElement::size ( ) const
inline

Returns the size of the face, i.e., the number of edges in the face.

Definition at line 142 of file CombinatorialEmbedding.h.

◆ succ()

face ogdf::FaceElement::succ ( ) const
inline

Returns the successor in the list of all faces.

Definition at line 145 of file CombinatorialEmbedding.h.

Friends And Related Symbol Documentation

◆ CombinatorialEmbedding

Definition at line 111 of file CombinatorialEmbedding.h.

◆ ConstCombinatorialEmbedding

◆ internal::GraphList< FaceElement >

Member Data Documentation

◆ entries

internal::FaceAdjContainer ogdf::FaceElement::entries

Container maintaining the adjacency entries in the face.

Definition at line 133 of file CombinatorialEmbedding.h.

◆ m_id

int ogdf::FaceElement::m_id
private

The index of the face.

Definition at line 115 of file CombinatorialEmbedding.h.

◆ m_size

int ogdf::FaceElement::m_size
private

The size of the face.

Definition at line 116 of file CombinatorialEmbedding.h.


The documentation for this class was generated from the following file: