atlas::geometry::UnitSphere class

Base classes

class atlas::Geometry

Constructors, destructors, conversion operators

UnitSphere()

Public functions

auto xyz(const Point2& lonlat) const -> Point3
auto lonlat(const Point3& xyz) const -> Point2
void xyz2lonlat(const Point3& xyz, Point2& lonlat) const
void lonlat2xyz(const Point2& lonlat, Point3& xyz) const
auto distance(const Point2& p1, const Point2& p2) const -> double
auto distance(const Point3& p1, const Point3& p2) const -> double
auto radius() const -> double
auto area() const -> double
auto greatCircleCourse(const Point2& p1, const Point2& p2) const -> std::pair<double, double>