122 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
bool operator!=(const LineIterator &other) const
unsigned int iCell_
Current cell number.
unsigned int nCells_
Number of cells in the line.
Index end_
Ending index of the line.
LineIterator(const grid_map::GridMap &gridMap, const Position &start, const Position &end)
Length mapLength_
Map information needed to get position from iterator.
static bool getIndexLimitedToMapRange(const grid_map::GridMap &gridMap, const Position &start, const Position &end, Index &index)
const Index & operator*() const
LineIterator & operator++()
Size increment1_
Helper variables for Bresenham Line Drawing algorithm.
Index start_
Starting index of the line.
bool initialize(const grid_map::GridMap &gridMap, const Index &start, const Index &end)
void initializeIterationParameters()
Index index_
Current index.