class
#include <atlas/domain/Domain.h>
GlobalDomain
Base classes
- class ZonalBandDomain
Public types
-
using Interval = std::
array<double, 2> -
using Spec = util::
Config
Constructors, destructors, conversion operators
- GlobalDomain(const double& west)
- GlobalDomain()
- GlobalDomain(const Domain&)
- operator bool() const
- RectangularLonLatDomain(const Interval& x, const Interval& y)
- RectangularLonLatDomain(const double& north, const double& west, const double& south, const double& east)
- RectangularDomain()
-
RectangularDomain(const Interval& x,
const Interval& y,
const std::
string& units = "degrees") - RectangularDomain(const Domain&)
- Domain() defaulted
-
Domain(const eckit::
Parametrisation&)
Public functions
- auto west() const -> double
- auto east() const -> double
- auto north() const -> double
- auto south() const -> double
- auto contains_x(double x) const -> bool
- Checks if the x-value is contained in the domain.
- auto contains_y(double y) const -> bool
- Checks if the y-value is contained in the domain.
- auto zonal_band() const -> bool
- auto xmin() const -> double
- auto xmax() const -> double
- auto ymin() const -> double
- auto ymax() const -> double
-
auto type() const -> std::
string - Type of the domain.
- auto contains(double x, double y) const -> bool
- Checks if the point is contained in the domain.
- auto contains(const PointXY& p) const -> bool
- Checks if the point is contained in the domain.
- auto spec() const -> Spec
- auto global() const -> bool
- Check if domain represents the complete globe surface.
- auto empty() const -> bool
- Check if domain does not represent any area on the globe surface.
-
void hash(eckit::
Hash&) const - Add domain to the given hash.
- auto containsNorthPole() const -> bool
- auto containsSouthPole() const -> bool
-
auto units() const -> std::
string - String that defines units of the domain ("degrees" or "meters")