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
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.