From f2c3b572494b3d4018b2c7c84208f94109b5487c Mon Sep 17 00:00:00 2001 From: Mirco Valentini Date: Tue, 1 Aug 2023 18:58:40 +0200 Subject: [PATCH] MIR-632 added accessors for the GridBox class. --- src/atlas/interpolation/method/knn/GridBox.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/atlas/interpolation/method/knn/GridBox.h b/src/atlas/interpolation/method/knn/GridBox.h index 0d4c95b75..8c40d2a9f 100644 --- a/src/atlas/interpolation/method/knn/GridBox.h +++ b/src/atlas/interpolation/method/knn/GridBox.h @@ -50,6 +50,10 @@ class GridBox { double diagonal() const; bool intersects(GridBox&) const; + double north() const { return north_; } + double west() const { return west_; } + double south() const { return south_; } + double east() const { return east_; } // -- Overridden methods // None