| 752 | } |
| 753 | |
| 754 | void GridMap::clearRows(unsigned int index, unsigned int nRows) { |
| 755 | for (auto& layer : layers_) { |
| 756 | data_.at(layer).block(index, 0, nRows, getSize()(1)).setConstant(NAN); |
| 757 | } |
| 758 | } |
| 759 | |
| 760 | void GridMap::clearCols(unsigned int index, unsigned int nCols) { |
| 761 | for (auto& layer : layers_) { |