129 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
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)
bool operator!=(const LineIterator &other) const
const Index & operator*() const
Length mapLength_
Map information needed to get position from iterator.
bool getIndexLimitedToMapRange(const grid_map::GridMap &gridMap, const Position &start, const Position &end, Index &index)
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)
LineIterator & operator=(const LineIterator &other)
void initializeIterationParameters()
Index index_
Current index.