Function grid_map::getIndicesForRegion

Function Documentation

void grid_map::getIndicesForRegion(const Index &regionIndex, const Size &regionSize, std::vector<Index> indices)

Generates a list of indices for a region in the map.

Parameters:
  • regionIndex – the region top-left index.

  • regionSize – the region size.

  • indices – the list of indices of the region.