eckit::geo::projection::Mercator class

Calculate coordinates of a point on a rotated sphere given new location of South Pole (vector) and angle.

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

Mercator(PointLonLat centre, PointLonLat first = {0, 0}, Figure* = nullptr) explicit
Mercator(const Spec&) explicit

Public functions

auto fwd(const PointLonLat& p) const -> Point2
auto inv(const Point2& 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::Mercator::builder_t = BuilderT1<Projection>

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

Function documentation

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

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

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

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

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

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

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