Function grid_map::getIndicesForRegions
Defined in File GridMapMath.hpp
Function Documentation
-
void grid_map::getIndicesForRegions(const std::vector<Index> ®ionIndeces, const Size ®ionSizes, std::vector<Index> indices)
Generates a list of indices for multiple regions in the map. This method makes sure every index is only once contained in the list.
- Parameters:
regionIndeces – the regions’ top-left index.
regionSizes – the regions’ sizes.
indices – the list of indices of the regions.