40 unsigned int min_x,
unsigned int min_y,
41 unsigned int width,
unsigned int height)
42 :
BaseIterator(info, index), min_x_(min_x), min_y_(min_y), width_(width), height_(height)
void increment() override
Increase the iterator to the next element.
bool fieldsEqual(const SubGrid &other) override
Additional check for whether fields of derived iterators are equal.
SubGrid begin() const override
Helper function for range-style iteration Equivalent to the above constructor.
GenericIndex< unsigned int > Index
const nav_grid::NavGridInfo * info_
SubGrid end() const override
Helper function for range-style iteration.
Iterator for looping through every index within an aligned rectangular portion of the grid...
SubGrid(const nav_grid::NavGridInfo *info, unsigned int min_x, unsigned int min_y, unsigned int width, unsigned int height)
Public Constructor.