A closed ring of nodes. More...
Public Member Functions | |
Ring () | |
Constructor. | |
Ring (node n) | |
Constructor for degenerate rings. | |
Ring (node startNode, node endNode, adjEntry outPointer, const SeparatorHarPeled &separator) | |
Constructor for a full ring. | |
int | getFaces () const |
List< adjEntry > | getSectionInSeparator (bool firstSection) const |
Returns a section of this ring, either the first one from in to out, or the second one from out to in. | |
int | getSize () const |
Public Attributes | |
List< adjEntry > | entries |
int | faces |
node | in |
Crossing points with the main separator S: in is where S enters, out is where S leaves. | |
bool | isDegenerate = false |
A degenerate ring contains only one node. | |
List< node > | nodes |
Nodes and adjEntries that form the border of the ring. | |
node | out |
A closed ring of nodes.
A representation of the border of a closed region containing the root node.
Definition at line 288 of file SeparatorHarPeled.h.
|
inline |
Constructor.
Definition at line 305 of file SeparatorHarPeled.h.
|
inline |
Constructor for degenerate rings.
n | the only node on the ring |
Definition at line 312 of file SeparatorHarPeled.h.
|
inline |
Constructor for a full ring.
Constructs a ring by following the border edges of the region on the inside. If a complicated node is encountered, we take the next clockwise out-edge of that node.
startNode | first node on the ring, also intersection point of ring and separator |
endNode | second intersection point of ring and separator |
outPointer | next adjEntry in the separator that points from startnode in the direction of psi |
separator | the separator that uses this ring |
Definition at line 324 of file SeparatorHarPeled.h.
|
inline |
Definition at line 372 of file SeparatorHarPeled.h.
|
inline |
Returns a section of this ring, either the first one from in to out, or the second one from out to in.
firstSection | whether to return the first (true) or second (false) section |
Definition at line 385 of file SeparatorHarPeled.h.
|
inline |
Definition at line 377 of file SeparatorHarPeled.h.
Definition at line 291 of file SeparatorHarPeled.h.
int ogdf::planar_separators::Ring::faces |
Definition at line 297 of file SeparatorHarPeled.h.
node ogdf::planar_separators::Ring::in |
Crossing points with the main separator S: in is where S enters, out is where S leaves.
Definition at line 294 of file SeparatorHarPeled.h.
A degenerate ring contains only one node.
Definition at line 300 of file SeparatorHarPeled.h.
Nodes and adjEntries that form the border of the ring.
Definition at line 290 of file SeparatorHarPeled.h.
node ogdf::planar_separators::Ring::out |
Definition at line 295 of file SeparatorHarPeled.h.