#include <DualGraph.h>

Public Member Functions | |
| DualGraph (CombinatorialEmbedding &CE) | |
| Constructor; creates dual graph and its combinatorial embedding. | |
| ~DualGraph () | |
| Destructor. | |
| const CombinatorialEmbedding & | getPrimalEmbedding () const |
| Returns a reference to the combinatorial embedding of the primal graph. | |
| const Graph & | getPrimalGraph () const |
| Returns a reference to the primal graph. | |
| const node & | primalNode (face f) const |
| Returns the node in the primal graph corresponding to f. | |
| const edge & | primalEdge (edge e) const |
| Returns the edge in the primal graph corresponding to e. | |
| const face & | primalFace (node v) const |
| Returns the face in the embedding of the primal graph corresponding to v. | |
| const node & | dualNode (face f) const |
| Returns the node in the dual graph corresponding to f. | |
| const edge & | dualEdge (edge e) const |
| Returns the edge in the dual graph corresponding to e. | |
| const face & | dualFace (node v) const |
| Returns the face in the embedding of the dual graph corresponding to v. | |
Protected Attributes | |
| CombinatorialEmbedding * | m_primalEmbedding |
| The embedding of the primal graph. | |
| FaceArray< node > | m_primalNode |
| The corresponding node in the primal graph. | |
| NodeArray< face > | m_primalFace |
| The corresponding facee in the embedding of the primal graph. | |
| EdgeArray< edge > | m_primalEdge |
| The corresponding edge in the primal graph. | |
| FaceArray< node > | m_dualNode |
| The corresponding node in the dual graph. | |
| NodeArray< face > | m_dualFace |
| The corresponding face in embedding of the dual graph. | |
| EdgeArray< edge > | m_dualEdge |
| The corresponding edge in the dual graph. | |
Definition at line 66 of file DualGraph.h.
| ogdf::DualGraph::DualGraph | ( | CombinatorialEmbedding & | CE | ) |
Constructor; creates dual graph and its combinatorial embedding.
| ogdf::DualGraph::~DualGraph | ( | ) |
Destructor.
| const CombinatorialEmbedding& ogdf::DualGraph::getPrimalEmbedding | ( | ) | const [inline] |
Returns a reference to the combinatorial embedding of the primal graph.
Definition at line 74 of file DualGraph.h.
| const Graph& ogdf::DualGraph::getPrimalGraph | ( | ) | const [inline] |
Returns the node in the primal graph corresponding to f.
| f | is a face in the embedding of the dual graph |
Definition at line 83 of file DualGraph.h.
Returns the edge in the primal graph corresponding to e.
| e | is an edge in the dual graph |
Definition at line 89 of file DualGraph.h.
Returns the face in the embedding of the primal graph corresponding to v.
| v | is a node in the dual graph |
Definition at line 95 of file DualGraph.h.
Returns the node in the dual graph corresponding to f.
| f | is a face in the embedding of the primal graph |
Definition at line 101 of file DualGraph.h.
Returns the edge in the dual graph corresponding to e.
| e | is an edge in the primal graph |
Definition at line 107 of file DualGraph.h.
Returns the face in the embedding of the dual graph corresponding to v.
| v | is a node in the primal graph |
Definition at line 113 of file DualGraph.h.
CombinatorialEmbedding* ogdf::DualGraph::m_primalEmbedding [protected] |
FaceArray<node> ogdf::DualGraph::m_primalNode [protected] |
NodeArray<face> ogdf::DualGraph::m_primalFace [protected] |
The corresponding facee in the embedding of the primal graph.
Definition at line 118 of file DualGraph.h.
EdgeArray<edge> ogdf::DualGraph::m_primalEdge [protected] |
FaceArray<node> ogdf::DualGraph::m_dualNode [protected] |
NodeArray<face> ogdf::DualGraph::m_dualFace [protected] |
EdgeArray<edge> ogdf::DualGraph::m_dualEdge [protected] |