Skip to content

Commit

Permalink
MIR-632 added accessors for the GridBox class.
Browse files Browse the repository at this point in the history
  • Loading branch information
MircoValentiniECMWF authored and wdeconinck committed Aug 2, 2023
1 parent 38d9072 commit f2c3b57
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 f2c3b57

Please sign in to comment.