eckit::geo::figure::Sphere class

Base classes

class eckit::geo::Figure
Figure: describe a combination of "shape" (sphere, ellipsoid, geoid) and "size" (radius, a, b, elevation)

Derived classes

struct Earth final
struct UnitSphere final

Public types

using builder_t = BuilderT1<Figure>
using ARG1 = const Spec&

Public static functions

static auto className() -> std::string

Constructors, destructors, conversion operators

Sphere(double R) explicit
Sphere(const Spec&) explicit

Public functions

auto R() const -> double override
auto a() const -> double override
auto b() const -> double override
auto spec() const -> spec::Custom*
auto spec_str() const -> std::string
auto proj_str() const -> std::string
auto eccentricity() const -> double
auto flattening() const -> double

Typedef documentation

using eckit::geo::figure::Sphere::builder_t = BuilderT1<Figure>

using eckit::geo::figure::Sphere::ARG1 = const Spec&

Function documentation

static std::string eckit::geo::figure::Sphere::className()

spec::Custom* eckit::geo::figure::Sphere::spec() const

std::string eckit::geo::figure::Sphere::spec_str() const

std::string eckit::geo::figure::Sphere::proj_str() const

double eckit::geo::figure::Sphere::eccentricity() const

double eckit::geo::figure::Sphere::flattening() const