| 12 | namespace grid_map { |
| 13 | |
| 14 | SubmapGeometry::SubmapGeometry(const GridMap& gridMap, const Position& position, |
| 15 | const Length& length, bool& isSuccess) |
| 16 | : gridMap_(gridMap) |
| 17 | { |
| 18 | isSuccess = getSubmapInformation(startIndex_, size_, position_, length_, |
| 19 | requestedIndexInSubmap_, position, length, gridMap_.getLength(), |
| 20 | gridMap_.getPosition(), gridMap_.getResolution(), |
| 21 | gridMap_.getSize(), gridMap_.getStartIndex()); |
| 22 | } |
| 23 | |
| 24 | SubmapGeometry::~SubmapGeometry() |
| 25 | { |
nothing calls this directly
no test coverage detected