atlas::util::LonLatMicroDeg class

LonLatMicroDegrees.

Data is stored and accessed in microdegrees in int type (32 bits per coordinate component) This structure is used to compare 2 lon-lat points in sorting algorithms or to use in sending in MPI buffers using minimal memory, The maximum range in degrees is [-2147.48 2147.48]

Constructors, destructors, conversion operators

LonLatMicroDeg(int lonlat[2])
LonLatMicroDeg(int lon, int lat)
LonLatMicroDeg(const double& lon, const double& lat)
LonLatMicroDeg(const double lonlat[2])
LonLatMicroDeg(const PointLonLat& p)

Public functions

auto lon() const -> int
auto lat() const -> int
void set_lon(int lon)
void set_lat(int lat)
auto data() const -> const int*
auto unique() -> uidx_t
auto operator<(const LonLatMicroDeg& other) const -> bool