#include <ogdf/basic/TopologyModule.h>
List of all members.
Public Types |
| enum | Options {
opDegOneCrossings = 0x0001,
opGenToAss = 0x0002,
opCrossFlip = 0x0004,
opFlipUML = 0x0010,
opLoop = 0x0008
} |
Public Member Functions |
| | TopologyModule () |
| virtual | ~TopologyModule () |
| void | setOptions (int i) |
| void | addOption (TopologyModule::Options o) |
| bool | setEmbeddingFromGraph (PlanRep &PG, GraphAttributes &AG, adjEntry &adjExternal, bool setExternal=true, bool reuseAGEmbedding=false) |
| void | sortEdgesFromLayout (Graph &G, GraphAttributes &AG) |
| face | getExternalFace (PlanRep &PG, const GraphAttributes &AG) |
| double | faceSum (PlanRep &PG, const GraphAttributes &AG, face f) |
Protected Member Functions |
| void | planarizeFromLayout (PlanRep &PG, GraphAttributes &AG) |
| bool | hasCrossing (EdgeLeg *legA, EdgeLeg *legB, DPoint &xp) |
| bool | checkFlipCrossing (PlanRep &PG, node v, bool flip=true) |
| void | postProcess (PlanRep &PG) |
| void | handleImprecision (PlanRep &PG) |
| bool | skipable (EdgeLeg *legA, EdgeLeg *legB) |
Private Member Functions |
| int | compare_vectors (const double &x1, const double &y1, const double &x2, const double &y2) |
| double | angle (DPoint p, DPoint q, DPoint r) |
Private Attributes |
| NodeArray< DPoint > | m_crossPosition |
| EdgeArray< List< EdgeLeg * > > | m_eLegs |
| int | m_options |
Detailed Description
Definition at line 83 of file TopologyModule.h.
Member Enumeration Documentation
- Enumerator:
| opDegOneCrossings |
|
| opGenToAss |
|
| opCrossFlip |
|
| opFlipUML |
|
| opLoop |
|
Definition at line 93 of file TopologyModule.h.
Constructor & Destructor Documentation
| ogdf::TopologyModule::TopologyModule |
( |
|
) |
[inline] |
| virtual ogdf::TopologyModule::~TopologyModule |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| bool ogdf::TopologyModule::checkFlipCrossing |
( |
PlanRep & |
PG, |
|
|
node |
v, |
|
|
bool |
flip = true | |
|
) |
| | [protected] |
| int ogdf::TopologyModule::compare_vectors |
( |
const double & |
x1, |
|
|
const double & |
y1, |
|
|
const double & |
x2, |
|
|
const double & |
y2 | |
|
) |
| | [private] |
| void ogdf::TopologyModule::handleImprecision |
( |
PlanRep & |
PG |
) |
[protected] |
| void ogdf::TopologyModule::postProcess |
( |
PlanRep & |
PG |
) |
[protected] |
| bool ogdf::TopologyModule::setEmbeddingFromGraph |
( |
PlanRep & |
PG, |
|
|
GraphAttributes & |
AG, |
|
|
adjEntry & |
adjExternal, |
|
|
bool |
setExternal = true, |
|
|
bool |
reuseAGEmbedding = false | |
|
) |
| | |
| void ogdf::TopologyModule::setOptions |
( |
int |
i |
) |
[inline] |
| bool ogdf::TopologyModule::skipable |
( |
EdgeLeg * |
legA, |
|
|
EdgeLeg * |
legB | |
|
) |
| | [protected] |
Member Data Documentation
The documentation for this class was generated from the following file: