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

Public Types

using Spec = util::Config
 

Public Member Functions

 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")
 

Friends

std::ostream & operator<< (std::ostream &s, const Domain &d)
 

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