15 const Length& length,
bool& isSuccess)
const Length & getLength() const
double getResolution() const
const GridMap & getGridMap() const
const Index & getStartIndex() const
bool getPosition(const Index &index, Position &position) const
Size size_
Size of the submap.
bool getSubmapInformation(Index &submapTopLeftIndex, Size &submapBufferSize, Position &submapPosition, Length &submapLength, Index &requestedIndexInSubmap, const Position &requestedSubmapPosition, const Length &requestedSubmapLength, const Length &mapLength, const Position &mapPosition, const double &resolution, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
const Index & getRequestedIndexInSubmap() const
const GridMap & gridMap_
Parent grid map of the submap.
Length length_
Length of the submap.
const Length & getLength() const
double getResolution() const
const Position & getPosition() const
const Size & getSize() const
Index startIndex_
Start index (typically top left) index of the submap.
SubmapGeometry(const GridMap &gridMap, const Position &position, const Length &length, bool &isSuccess)
Position position_
Position (center) of the submap.
const Index & getStartIndex() const
const Size & getSize() const
virtual ~SubmapGeometry()
Index requestedIndexInSubmap_