![]() |
Pangolin
Header-only C++20 plane computational geometry library
|
Forward iterator over the (optionally oriented) chain edges. More...
#include <monotonechain.hpp>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | iterator_concept = std::forward_iterator_tag |
| using | value_type = BoundaryType<Oriented> |
| using | difference_type = std::ptrdiff_t |
| using | reference = value_type |
Public Member Functions | |
| constexpr | BoundaryIterator ()=default |
| constexpr value_type | operator* () const |
| constexpr BoundaryIterator & | operator++ () |
| constexpr BoundaryIterator | operator++ (int) |
| constexpr bool | operator== (const BoundaryIterator &other) const =default |
Friends | |
| struct | MonotoneChain |
Forward iterator over the (optionally oriented) chain edges.
Edge i joins vertex i to vertex i + 1, so a chain with size() vertices has size() - 1 edges (and none when degenerate).
| using pgl::MonotoneChain< PointType_, TLabel, Storage >::BoundaryIterator< Oriented >::difference_type = std::ptrdiff_t |
| using pgl::MonotoneChain< PointType_, TLabel, Storage >::BoundaryIterator< Oriented >::iterator_category = std::forward_iterator_tag |
| using pgl::MonotoneChain< PointType_, TLabel, Storage >::BoundaryIterator< Oriented >::iterator_concept = std::forward_iterator_tag |
| using pgl::MonotoneChain< PointType_, TLabel, Storage >::BoundaryIterator< Oriented >::reference = value_type |
| using pgl::MonotoneChain< PointType_, TLabel, Storage >::BoundaryIterator< Oriented >::value_type = BoundaryType<Oriented> |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexprdefault |
|
friend |