eckit::geo::projection::Rotation class

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

Base classes

class eckit::geo::Projection

Public types

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

Public static functions

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

Constructors, destructors, conversion operators

Rotation(const Spec& spec) explicit
Rotation(const PointLonLat& = SOUTH_POLE, double angle = 0)
Rotation(double south_pole_lon, double south_pole_lat, double angle = 0)
Rotation(const Rotation&) defaulted
Rotation(Rotation&&) defaulted
~Rotation() defaulted override

Public functions

auto operator=(const Rotation&) -> Rotation& defaulted
auto operator=(Rotation&&) -> Rotation& defaulted
auto rotated() const -> bool
auto fwd(const PointLonLat& p) const -> PointLonLat
auto inv(const PointLonLat& q) const -> PointLonLat
auto fwd(const Point& p) const -> Point override
auto inv(const Point& q) const -> Point override
auto make_figure() const -> Figure* virtual
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::Rotation::builder_t = BuilderT1<Projection>

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

Function documentation

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

Figure* eckit::geo::projection::Rotation::make_figure() const virtual

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

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

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

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