Skip to content

Commit

Permalink
MIR-628 added accessors for the GridBox class.
Browse files Browse the repository at this point in the history
  • Loading branch information
MircoValentiniECMWF committed Aug 1, 2023
1 parent ea451cb commit 658756a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/atlas/interpolation/method/knn/GridBox.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 658756a

Please sign in to comment.