From 658756a6383a4ba8352dbcbe3873751cf4d1c67c Mon Sep 17 00:00:00 2001 From: Mirco Valentini Date: Tue, 1 Aug 2023 18:58:40 +0200 Subject: [PATCH] MIR-628 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