struct
#include <eckit/geometry/Sphere.h>
Sphere
Public static functions
- static auto centralAngle(const Point2& Alonlat, const Point2& Blonlat, bool normalise_angle = false) -> double
- Great-circle central angle between two points (latitude/longitude coordinates) in radians.
- static auto centralAngle(const double& radius, const Point3& A, const Point3& B) -> double
- Great-circle central angle between two points (Cartesian coordinates) in radians.
- static auto distance(const double& radius, const Point2& Alonlat, const Point2& Blonlat) -> double
- Great-circle distance between two points (latitude/longitude coordinates) in metres.
- static auto distance(const double& radius, const Point3& A, const Point3& B) -> double
- Great-circle distance between two points (Cartesian coordinates) in metres.
- static auto area(const double& radius) -> double
- Surface area in square metres.
- static auto area(const double& radius, const Point2& Alonlat, const Point2& Blonlat) -> double
- static auto greatCircleLatitudeGivenLongitude(const Point2& Alonlat, const Point2& Blonlat, const double& Clon) -> double
- static void greatCircleLongitudeGivenLatitude(const Point2& Alonlat, const Point2& Blonlat, const double& Clat, double& Clon1, double& Clon2)
- static void convertSphericalToCartesian(const double& radius, const Point2& Alonlat, Point3& B, double height = 0., bool normalise_angle = false)
- static void convertCartesianToSpherical(const double& radius, const Point3& A, Point2& Blonlat)