From acd1cf3278a532b56f3f621e27a8895b3db3cb75 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 8 Oct 2020 16:10:55 +0200 Subject: Make GeographicCRS::is2DPartOf3D() work with DatumEnsemble --- include/proj/crs.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/proj/crs.hpp b/include/proj/crs.hpp index a028aceb..a71bf610 100644 --- a/include/proj/crs.hpp +++ b/include/proj/crs.hpp @@ -395,8 +395,9 @@ class PROJ_GCC_DLL GeographicCRS : public GeodeticCRS { PROJ_INTERNAL void _exportToJSON(io::JSONFormatter *formatter) const override; // throw(FormattingException) - PROJ_DLL bool - is2DPartOf3D(util::nn other) PROJ_PURE_DECL; + PROJ_DLL bool is2DPartOf3D( + util::nn other, + const io::DatabaseContextPtr &dbContext = nullptr) PROJ_PURE_DECL; PROJ_INTERNAL bool _isEquivalentTo( const util::IComparable *other, -- cgit v1.2.3