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.
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.