eckit::geometry namespace

Namespaces

namespace polygon

Classes

struct EllipsoidOfRevolution
class GreatCircle
template<int SIZE = 2>
class KPoint
A generic point in K dimension cartesian space.
class Point2
class Point3
struct Sphere
template<class DATUM>
struct SphereT
Definition of a sphere parametrised with a geodetic datum.
struct DatumUnit
Definition of a unit datum.

Enums

enum XYZCOORDS { XX = 0, YY = 1, ZZ = 2 }
enum LLCOORDS { LON = XX, LAT = YY }

Typedefs

using UnitSphere = SphereT<DatumUnit>
Definition of a unit sphere.

Functions

auto normalise_angle(double angle, double minimum) -> double
auto canonicaliseOnSphere(const Point2& lonlat, double minimum_lon = 0.) -> Point2
void assert_latitude_range(double lat)
Assert latitude lies in [-90°, 90°].
auto points_equal(const Point2&, const Point2&) -> bool
auto points_equal(const Point3&, const Point3&) -> bool