![]() |
Pangolin
Header-only C++20 plane computational geometry library
|
Forward iterator over the three boundary points. More...
#include <disk.hpp>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | iterator_concept = std::forward_iterator_tag |
| using | value_type = PointType |
| using | difference_type = std::ptrdiff_t |
| using | reference = const PointType& |
Public Member Functions | |
| constexpr | PointIterator ()=default |
| Creates a singular (past-the-end style) iterator. | |
| constexpr reference | operator* () const |
| Returns the boundary point at the current position. | |
| constexpr PointIterator & | operator++ () |
| Advances to the next boundary point (pre-increment). | |
| constexpr PointIterator | operator++ (int) |
| Advances to the next boundary point (post-increment). | |
| constexpr bool | operator== (const PointIterator &other) const =default |
| Returns whether both iterators refer to the same position. | |
Friends | |
| struct | Disk |
| Deduces a default disk with Point<> boundary points and no label. | |
Forward iterator over the three boundary points.
| using pgl::Disk< PointType_, TLabel >::PointIterator::difference_type = std::ptrdiff_t |
| using pgl::Disk< PointType_, TLabel >::PointIterator::iterator_category = std::forward_iterator_tag |
| using pgl::Disk< PointType_, TLabel >::PointIterator::iterator_concept = std::forward_iterator_tag |
| using pgl::Disk< PointType_, TLabel >::PointIterator::reference = const PointType& |
| using pgl::Disk< PointType_, TLabel >::PointIterator::value_type = PointType |
|
constexprdefault |
Creates a singular (past-the-end style) iterator.
|
inlineconstexpr |
Returns the boundary point at the current position.
|
inlineconstexpr |
Advances to the next boundary point (pre-increment).
|
inlineconstexpr |
Advances to the next boundary point (post-increment).
|
constexprdefault |
Returns whether both iterators refer to the same position.
|
friend |
Deduces a default disk with Point<> boundary points and no label.