|
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 338 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::end().
Definition at line 340 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 345 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::get_curr_ne().
|
inlinenoexcept |
Definition at line 326 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::has_curr().
Referenced by TEST_F().
|
inline |
Definition at line 328 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::next().
Referenced by TEST_F().
|
inlinenoexcept |
Definition at line 330 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::next_ne().
Definition at line 355 of file polygon.H.
References dit_, and Aleph::divide_and_conquer_partition_dp().
Definition at line 350 of file polygon.H.
References dit_, and Aleph::divide_and_conquer_partition_dp().
|
inline |
Definition at line 332 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::prev().
|
inlinenoexcept |
Definition at line 334 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::prev_ne().
|
inlinenoexcept |
Definition at line 336 of file polygon.H.
References dit_, and Aleph::Dlink::Iterator::reset_first().
|
private |
Definition at line 318 of file polygon.H.
Referenced by end(), get_curr(), get_pos(), has_curr(), next(), next_ne(), operator!=(), operator==(), prev(), prev_ne(), and reset_first().