struct
#include <eckit/geo/geometry/Sphere.h>
Sphere Spherical geometry.
Public static functions
- static auto centralAngle(const PointLonLat&, const PointLonLat&) -> double
- Great-circle central angle between two points [radian].
- static auto centralAngle(double radius, const Point3&, const Point3&) -> double
- Great-circle central angle between two points (Cartesian coordinates) [m].
- static auto distance(double radius, const PointLonLat&, const PointLonLat&) -> double
- Great-circle distance between two points [m].
- static auto distance(double radius, const Point3&, const Point3&) -> double
- Great-circle distance between two points (Cartesian coordinates) [m].
- static auto area(double radius) -> double
- Surface area [m ** 2].
-
static auto area(double radius,
const area::
BoundingBox&) -> double - Surface area between parallels and meridians [m ** 2].
- static auto greatCircleLatitudeGivenLongitude(const PointLonLat&, const PointLonLat&, double lon) -> double
- Great-circle intermediate latitude provided two circle points and intermediate longitude [degree].
- static void greatCircleLongitudeGivenLatitude(const PointLonLat&, const PointLonLat&, double lat, double& lon1, double& lon2)
- Great-circle intermediate longitude(s) provided two circle points and intermediate latitude [degree].
- static auto convertSphericalToCartesian(double radius, const PointLonLat&, double height = 0.) -> Point3
- Convert spherical to Cartesian coordinates.
- static auto convertCartesianToSpherical(double radius, const Point3&) -> PointLonLat
- Convert Cartesian to spherical coordinates.