Function grid_map::getSubmapSizeFromCornerIndeces

Function Documentation

Size grid_map::getSubmapSizeFromCornerIndeces(const Index &topLeftIndex, const Index &bottomRightIndex, const Size &bufferSize, const Index &bufferStartIndex)

Computes the buffer size of a submap given a top left and a lower right index.

Parameters:
  • topLeftIndex – the top left index in the map.

  • bottomRightIndex – the bottom right index in the map.

Returns:

buffer size for the submap.