aboutsummaryrefslogtreecommitdiff
path: root/src/grids.hpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-12-06 21:08:59 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-12-10 17:49:00 +0100
commit1f01ecb90a751c8099a50e066616639f63522134 (patch)
treecd09851b7dcbdd279d6c808090916d981ae36ef8 /src/grids.hpp
parent9f908ae47cfa70d3cdb2709a8ab5d8eeb10034fc (diff)
downloadPROJ-1f01ecb90a751c8099a50e066616639f63522134.tar.gz
PROJ-1f01ecb90a751c8099a50e066616639f63522134.zip
Add support for horizontal and vertical grids in GeoTIFF
Diffstat (limited to 'src/grids.hpp')
-rw-r--r--src/grids.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/grids.hpp b/src/grids.hpp
index 65bf502b..e40528c3 100644
--- a/src/grids.hpp
+++ b/src/grids.hpp
@@ -45,6 +45,8 @@ struct ExtentAndRes {
double resLat; // in radian
bool fullWorldLongitude() const;
+ bool contains(const ExtentAndRes &other) const;
+ bool intersects(const ExtentAndRes &other) const;
};
// ---------------------------------------------------------------------------
@@ -87,6 +89,7 @@ class VerticalShiftGrid : public Grid {
// ---------------------------------------------------------------------------
class VerticalShiftGridSet {
+ protected:
std::string m_name{};
std::string m_format{};
std::vector<std::unique_ptr<VerticalShiftGrid>> m_grids{};