CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
Loading...
Searching...
No Matches
precession.hpp File Reference
#include <algorithm>
#include <cmath>
#include "toolbox.hpp"
#include "julian_day.hpp"
#include "coord_transform.hpp"

Classes

struct  astro::earth::precession::EquatorialAngles
 The equatorial precession angles of Meeus (21.2): ζ (zeta), z, θ (theta), in degrees. More...
struct  astro::earth::precession::EclipticAngles
 The ecliptic precession quantities of Meeus (21.5): η (eta), Π (Pi), p, in degrees. More...

Namespaces

namespace  astro
namespace  astro::earth
namespace  astro::earth::precession

Functions

auto astro::earth::precession::equatorial_angles (const double jde_from, const double jde_to) -> EquatorialAngles
 Compute the equatorial precession angles ζ, z, θ between two epochs.
auto astro::earth::precession::equatorial (const toolbox::AngleDeg &α0, const toolbox::AngleDeg &δ0, const double jde_from, const double jde_to) -> astro::coords::EquatorialCoord
 Apply equatorial precession, carrying (α₀, δ₀) from one epoch to another.
auto astro::earth::precession::ecliptic_angles (const double jde_from, const double jde_to) -> EclipticAngles
 Compute the ecliptic precession quantities η, Π, p between two epochs.
auto astro::earth::precession::ecliptic (const toolbox::AngleDeg &λ0, const toolbox::AngleDeg &β0, const double jde_from, const double jde_to) -> astro::coords::EclipticCoord
 Apply ecliptic precession, carrying (λ₀, β₀) from one epoch to another.