Skip to content

dakku::Bounds2iIterator

2d integer bounds iterator, iterate all pixels inside

#include <bounds.h>

Inherits from std::forward_iterator_tag

Public Functions

Name
Bounds2iIterator(const Bounds2i & b, Point2i p)
Bounds2iIterator operator++()
Bounds2iIterator operator++(int )
bool operator==(const Bounds2iIterator & rhs) const
bool operator!=(const Bounds2iIterator & rhs) const
Point2i operator*() const

Public Functions Documentation

function Bounds2iIterator

inline explicit Bounds2iIterator(
    const Bounds2i & b,
    Point2i p
)

function operator++

inline Bounds2iIterator operator++()

function operator++

inline Bounds2iIterator operator++(
    int 
)

function operator==

inline bool operator==(
    const Bounds2iIterator & rhs
) const

function operator!=

inline bool operator!=(
    const Bounds2iIterator & rhs
) const

function operator*

inline Point2i operator*() const

Updated on 2022-04-30 at 15:46:11 +0000