atlas::RectangularLonLatDomain class

Base classes

class RectangularDomain

Derived classes

class ZonalBandDomain

Public types

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

Constructors, destructors, conversion operators

RectangularLonLatDomain(const Interval& x, const Interval& y)
RectangularLonLatDomain(const double& north, const double& west, const double& south, const double& east)
operator bool() const
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")
This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.