MCPcopy Create free account
hub / github.com/ANYbotics/grid_map / GridMapIterator

Method GridMapIterator

grid_map_core/src/iterators/GridMapIterator.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace grid_map {
13
14GridMapIterator::GridMapIterator(const grid_map::GridMap& gridMap)
15{
16 size_ = gridMap.getSize();
17 startIndex_ = gridMap.getStartIndex();
18 linearSize_ = size_.prod();
19 linearIndex_ = 0;
20 isPastEnd_ = false;
21}
22
23GridMapIterator::GridMapIterator(const GridMapIterator* other)
24{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected