atlas::RectangularDomain class

Base classes

class Domain

Derived classes

class RectangularLonLatDomain

Public types

using Interval = std::array<double, 2>
using Spec = util::Config

Constructors, destructors, conversion operators

RectangularDomain()
RectangularDomain(const Interval& x, const Interval& y, const std::string& units = "degrees")
RectangularDomain(const Domain&)
operator bool() const
Domain() defaulted
Domain(const eckit::Parametrisation&)

Public functions

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