eckit::geo::Figure class

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

Derived classes

class OblateSpheroid
class Sphere

Public types

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

Public static functions

static auto className() -> std::string

Constructors, destructors, conversion operators

Figure() defaulted noexcept
Figure(const Figure&) deleted
Figure(Figure&&) deleted
Figure(const Spec&) explicit
~Figure() defaulted virtual

Public functions

auto operator=(const Figure&) -> Figure& deleted
auto operator=(Figure&&) -> Figure& deleted
auto R() const -> double virtual
auto a() const -> double virtual
auto b() const -> double virtual
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

Private functions

void fill_spec(spec::Custom&) const virtual

Friends

auto operator==(const Figure& a, const Figure& b) -> bool
auto operator!=(const Figure& a, const Figure& b) -> bool