Helper class for the computation of crossings. More...
#include <ogdf/planarity/TopologyModule.h>
Public Member Functions | |
EdgeLeg () | |
EdgeLeg (edge e, int number, DPoint p1, DPoint p2) | |
edge & | copyEdge () |
DPoint & | end () |
int & | number () |
DPoint & | start () |
Public Attributes | |
ListIterator< EdgeLeg * > | m_eIterator |
each edgeLeg holds an entry with a ListIterator pointing to its entry in a <edgeLeg*> List for an original edge | |
bool | m_topDown |
we store the direction of the crossed EdgeLeg, too if crossingEdgeLeg is horizontally left to right | |
DPoint | m_xp |
to avoid sorting both edgelegs and crossing points, do not store a pair of them, but allow the xp to be stored in the edgeleg | |
Private Attributes | |
edge | m_copyEdge |
the edge in the PlanRep copy corresponding to the EdgeLeg | |
int | m_number |
the order nuumber on the edge, starting at 0 | |
DPoint | m_p1 |
DPoint | m_p2 |
"Starting" and "End" point of the EdgeLeg | |
Helper class for the computation of crossings.
Represents a part of the edge between two consecutive bends (in the layout, there are no bends allowed in the representation) or crossings. There can be multiple EdgeLegs associated to one copy edge in the PlanRep because of bends.
Definition at line 52 of file TopologyModule.h.
|
inline |
Definition at line 54 of file TopologyModule.h.
Definition at line 56 of file TopologyModule.h.
|
inline |
Definition at line 70 of file TopologyModule.h.
|
inline |
Definition at line 66 of file TopologyModule.h.
|
inline |
Definition at line 68 of file TopologyModule.h.
|
inline |
Definition at line 64 of file TopologyModule.h.
|
private |
the edge in the PlanRep copy corresponding to the EdgeLeg
Definition at line 85 of file TopologyModule.h.
ListIterator<EdgeLeg*> ogdf::topology_module::EdgeLeg::m_eIterator |
each edgeLeg holds an entry with a ListIterator pointing to its entry in a <edgeLeg*> List for an original edge
Definition at line 82 of file TopologyModule.h.
|
private |
the order nuumber on the edge, starting at 0
Definition at line 87 of file TopologyModule.h.
|
private |
Definition at line 86 of file TopologyModule.h.
|
private |
"Starting" and "End" point of the EdgeLeg
Definition at line 86 of file TopologyModule.h.
bool ogdf::topology_module::EdgeLeg::m_topDown |
we store the direction of the crossed EdgeLeg, too if crossingEdgeLeg is horizontally left to right
Definition at line 78 of file TopologyModule.h.
DPoint ogdf::topology_module::EdgeLeg::m_xp |
to avoid sorting both edgelegs and crossing points, do not store a pair of them, but allow the xp to be stored in the edgeleg
Definition at line 75 of file TopologyModule.h.