| 81 | } |
| 82 | |
| 83 | bool LineIterator::initialize(const grid_map::GridMap& gridMap, const Index& start, const Index& end) |
| 84 | { |
| 85 | start_ = start; |
| 86 | end_ = end; |
| 87 | mapLength_ = gridMap.getLength(); |
| 88 | mapPosition_ = gridMap.getPosition(); |
| 89 | resolution_ = gridMap.getResolution(); |
| 90 | bufferSize_ = gridMap.getSize(); |
| 91 | bufferStartIndex_ = gridMap.getStartIndex(); |
| 92 | initializeIterationParameters(); |
| 93 | return true; |
| 94 | } |
| 95 | |
| 96 | bool LineIterator::getIndexLimitedToMapRange(const grid_map::GridMap& gridMap, |
| 97 | const Position& start, const Position& end, |
nothing calls this directly
no test coverage detected