atlas
Public Types | Public Member Functions | List of all members
atlas::RectangularDomain Class Reference
Inheritance diagram for atlas::RectangularDomain:
Inheritance graph
[legend]
Collaboration diagram for atlas::RectangularDomain:
Collaboration graph
[legend]

Public Types

using Interval = std::array< double, 2 >
 
- Public Types inherited from atlas::Domain
using Spec = util::Config
 

Public Member Functions

 RectangularDomain (const Interval &x, const Interval &y, const std::string &units="degrees")
 
 RectangularDomain (const Domain &)
 
 operator bool () const
 
bool contains_x (double x) const
 Checks if the x-value is contained in the domain.
 
bool contains_y (double y) const
 Checks if the y-value is contained in the domain.
 
bool zonal_band () const
 
double xmin () const
 
double xmax () const
 
double ymin () const
 
double ymax () const
 
- Public Member Functions inherited from atlas::Domain
 Domain (const eckit::Parametrisation &)
 
std::string type () const
 Type of the domain.
 
bool contains (double x, double y) const
 Checks if the point is contained in the domain.
 
bool contains (const PointXY &p) const
 Checks if the point is contained in the domain.
 
Spec spec () const
 
bool global () const
 Check if domain represents the complete globe surface.
 
bool empty () const
 Check if domain does not represent any area on the globe surface.
 
void hash (eckit::Hash &) const
 Add domain to the given hash.
 
bool containsNorthPole () const
 Check if grid includes the North pole (can only be true when units are in degrees)
 
bool containsSouthPole () const
 Check if grid includes the South pole (can only be true when units are in degrees)
 
std::string units () const
 String that defines units of the domain ("degrees" or "meters")
 

The documentation for this class was generated from the following files: