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