eckit::geo::figure::OblateSpheroid class

Base classes

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

Public types

using builder_t = BuilderT0<Figure>

Public static functions

static auto R(double a, double b) -> double
Radius.
static auto eccentricity(double a, double b) -> double
Elliptic eccentricity.
static auto flattening(double a, double b) -> double
Flattening.
static auto _area(double a, double b) -> double
Surface area [L^2].
static auto _area(double a, double b, const area::BoundingBox&) -> double
Surface area between parallels and meridians [L^2].
static auto convertSphericalToCartesian(double a, double b, const PointLonLat&, double height = 0.) -> PointXYZ
Convert geocentric coordinates to Cartesian.
static auto className() -> std::string

Constructors, destructors, conversion operators

OblateSpheroid(double a, double b)
OblateSpheroid(const Spec&) explicit

Public functions

auto R() const -> double override
auto a() const -> double override
auto b() const -> double override
auto area() const -> double override
Surface area [L^2].
auto area(const area::BoundingBox& bbox) -> double override
Surface area between parallels and meridians [L^2].
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::OblateSpheroid::builder_t = BuilderT0<Figure>

Function documentation

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

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

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

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

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

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

This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.