Function grid_map::checkIfIndexInRange

Function Documentation

bool grid_map::checkIfIndexInRange(const Index &index, const Size &bufferSize)

Checks if index is within range of the buffer.

Parameters:
  • index[in] to check.

  • bufferSize[in] the size of the buffer.

Returns:

true if index is within, and false if index is outside of the buffer.