Special iterator to walk over the inward-pointing edges of the cycle.
More...
Special iterator to walk over the inward-pointing edges of the cycle.
Definition at line 659 of file PlanarSeparatorModule.h.
◆ Iterator() [1/2]
ogdf::planar_separators::Cycle::Iterator::Iterator |
( |
const Cycle * |
cyc, |
|
|
bool |
clockwise |
|
) |
| |
|
inline |
Constructor.
Standard constructor that starts at the first clockwise adjEntry within the cycle.
- Parameters
-
cyc | the cycle to which this iterator belongs |
clockwise | whether the cycle is clockwise |
Definition at line 700 of file PlanarSeparatorModule.h.
◆ Iterator() [2/2]
ogdf::planar_separators::Cycle::Iterator::Iterator |
( |
const Cycle * |
cyc | ) |
|
|
inline |
◆ isOutEdge()
bool ogdf::planar_separators::Cycle::Iterator::isOutEdge |
( |
| ) |
|
|
inline |
Checks whether the current adjEntry is the one that leads up to the root.
- Returns
- true if current adjEntry leads to root
Definition at line 716 of file PlanarSeparatorModule.h.
◆ next()
adjEntry ogdf::planar_separators::Cycle::Iterator::next |
( |
adjEntry |
current | ) |
const |
|
inlineprivate |
Yields the next adjEntry, given the current one (internal use only).
- Parameters
-
current | the current AdjEntry |
- Returns
- the next one
Definition at line 671 of file PlanarSeparatorModule.h.
◆ operator*()
adjEntry ogdf::planar_separators::Cycle::Iterator::operator* |
( |
| ) |
const |
|
inline |
◆ operator++() [1/2]
Iterator& ogdf::planar_separators::Cycle::Iterator::operator++ |
( |
| ) |
|
|
inline |
◆ operator++() [2/2]
Iterator ogdf::planar_separators::Cycle::Iterator::operator++ |
( |
int |
| ) |
|
|
inline |
◆ operator!=
◆ operator==
◆ cycle
const Cycle* ogdf::planar_separators::Cycle::Iterator::cycle |
|
private |
◆ isClockwise
const bool ogdf::planar_separators::Cycle::Iterator::isClockwise |
|
private |
◆ m_current
adjEntry ogdf::planar_separators::Cycle::Iterator::m_current |
|
private |
The documentation for this class was generated from the following file: