eckit::geo::projection::LonLatToXYZ class

Calculate coordinates of a point on a sphere or spheroid, in [x, y, z].

Base classes

class ProjectionOnFigure

Public types

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

Public static functions

static auto className() -> std::string
static auto make_from_spec(const Spec&) -> Projection*

Constructors, destructors, conversion operators

LonLatToXYZ(Figure* = nullptr) explicit
LonLatToXYZ(double R) explicit
LonLatToXYZ(double a, double b) explicit
LonLatToXYZ(const Spec&) explicit

Public functions

auto fwd(const PointLonLat& p) const -> Point3
auto inv(const Point3& q) const -> PointLonLat
auto fwd(const Point& p) const -> Point override
auto inv(const Point& q) const -> Point override
auto make_figure() const -> Figure* override
auto figure() const -> const Figure&
auto spec() const -> spec::Custom*
auto spec_str() const -> std::string
auto proj_str() const -> std::string

Private functions

void fill_spec(spec::Custom&) const override

Typedef documentation

using eckit::geo::projection::LonLatToXYZ::builder_t = BuilderT1<Projection>

using eckit::geo::projection::LonLatToXYZ::ARG1 = const Spec&

Function documentation

static std::string eckit::geo::projection::LonLatToXYZ::className()

static Projection* eckit::geo::projection::LonLatToXYZ::make_from_spec(const Spec&)

Figure* eckit::geo::projection::LonLatToXYZ::make_figure() const override

const Figure& eckit::geo::projection::LonLatToXYZ::figure() const

spec::Custom* eckit::geo::projection::LonLatToXYZ::spec() const

std::string eckit::geo::projection::LonLatToXYZ::spec_str() const

std::string eckit::geo::projection::LonLatToXYZ::proj_str() const