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

Method dataInsideMap

grid_map_core/src/iterators/SlidingWindowIterator.cpp:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99bool SlidingWindowIterator::dataInsideMap() const
100{
101 const Index centerIndex(*(*this));
102 const Index windowMargin(Index::Constant(windowMargin_));
103 const Index topLeftIndex(centerIndex - windowMargin);
104 const Index bottomRightIndex(centerIndex + windowMargin);
105 return checkIfIndexInRange(topLeftIndex, size_) && checkIfIndexInRange(bottomRightIndex, size_);
106}
107
108} /* namespace grid_map */

Callers

nothing calls this directly

Calls 1

checkIfIndexInRangeFunction · 0.85

Tested by

no test coverage detected