| 1437 | // --------------------------------------------------------------------------- |
| 1438 | |
| 1439 | const VerticalShiftGrid *VerticalShiftGrid::gridAt(double lon, |
| 1440 | double lat) const { |
| 1441 | for (const auto &child : m_children) { |
| 1442 | const auto &extentChild = child->extentAndRes(); |
| 1443 | if (isPointInExtent(lon, lat, extentChild)) { |
| 1444 | return child->gridAt(lon, lat); |
| 1445 | } |
| 1446 | } |
| 1447 | return this; |
| 1448 | } |
| 1449 | // --------------------------------------------------------------------------- |
| 1450 | |
| 1451 | const VerticalShiftGrid *VerticalShiftGridSet::gridAt(double lon, |
no test coverage detected