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

Classes

struct  astro::coords::EquatorialCoord
 Represents a position in the equatorial coordinate system. More...
struct  astro::coords::EclipticCoord
 Represents a position in the ecliptic coordinate system. More...
struct  astro::coords::HorizontalCoord
 Represents a position in the horizontal coordinate system. More...
struct  astro::coords::Fk5Correction
 Ecliptic longitude and latitude corrections from VSOP87D to FK5. More...

Namespaces

namespace  astro
namespace  astro::coords

Functions

auto astro::coords::fk5_correction (const double jde_tt, const toolbox::SphericalCoordinate &vsop87d_coord) -> Fk5Correction
 Calculate the FK5 correction for dynamical ecliptic coordinates of date.
auto astro::coords::ecliptic_to_equatorial (const toolbox::AngleDeg &λ, const toolbox::AngleDeg &β, const toolbox::AngleDeg &ε) -> EquatorialCoord
 Convert ecliptic coordinates (λ, β) to equatorial coordinates (α, δ).
auto astro::coords::equatorial_to_horizontal (const toolbox::AngleDeg &H, const toolbox::AngleDeg &δ, const toolbox::AngleDeg &φ) -> HorizontalCoord
 Convert equatorial coordinates (H, δ) to horizontal coordinates (A, h) for an observer at latitude φ.