|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
STL/Aleph-compatible iterator over polygon vertices as Points. More...
#include <polygon.H>
Public Member Functions | |
| Iterator () noexcept=default | |
| Iterator (const Polygon &poly) noexcept | |
| bool | has_curr () const noexcept |
| void | next () |
| void | next_ne () noexcept |
| void | prev () |
| void | prev_ne () noexcept |
| void | reset_first () noexcept |
| void | end () noexcept |
| const Point & | get_curr () const |
| Dlink * | get_pos () const noexcept |
| bool | operator== (const Iterator &o) const noexcept |
| bool | operator!= (const Iterator &o) const noexcept |
Private Attributes | |
| Dlink::Iterator | dit_ |
STL/Aleph-compatible iterator over polygon vertices as Points.
Wraps the internal Dlink::Iterator and yields const Point& via get_curr(). Compatible with StlAlephIterator, GenericTraverse, and FunctionalMethods.
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 339 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::end().
Definition at line 341 of file polygon.H.
References dit_, Aleph::Vertex::dlink_to_vertex(), and Aleph::Dlink::Iterator::get_curr().
Referenced by TEST_F().
|
inlinenoexcept |
Definition at line 346 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::get_curr_ne().
|
inlinenoexcept |
Definition at line 327 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::has_curr().
Referenced by TEST_F().
|
inline |
Definition at line 329 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::next().
Referenced by TEST_F().
|
inlinenoexcept |
Definition at line 331 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::next_ne().
Definition at line 356 of file polygon.H.
References Aleph::blossom_maximum_cardinality_matching(), and dit_.
Definition at line 351 of file polygon.H.
References Aleph::blossom_maximum_cardinality_matching(), and dit_.
|
inline |
Definition at line 333 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::prev().
|
inlinenoexcept |
Definition at line 335 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::prev_ne().
|
inlinenoexcept |
Definition at line 337 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::reset_first().
|
private |
Definition at line 319 of file polygon.H.
Referenced by end(), get_curr(), get_pos(), has_curr(), next(), next_ne(), operator!=(), operator==(), prev(), prev_ne(), and reset_first().