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

Namespaces

namespace  astro
namespace  astro::moon
namespace  astro::moon::perturbation
namespace  astro::moon::geocentric_coord
namespace  astro::moon::equatorial_coord

Functions

auto astro::moon::perturbation::longitude (const elp2000_82b::Context &ctx) -> double
 Calculate perturbation of the Moon's geocentric longitude.
auto astro::moon::perturbation::latitude (const elp2000_82b::Context &ctx) -> double
 Calculate perturbation of the Moon's geocentric latitude.
auto astro::moon::geocentric_coord::apparent (const double jde) -> toolbox::SphericalCoordinate
 Calculate the apparent geocentric position of the Moon, using truncated ELP2000-82B.
auto astro::moon::geocentric_coord::equatorial_horizontal_parallax (const toolbox::DistanceKm &distance) -> toolbox::AngleRad
 Calculate the equatorial horizontal parallax of the Moon.
auto astro::moon::equatorial_coord::apparent (const double jde) -> astro::coords::EquatorialCoord
 Calculate the apparent equatorial position (α, δ) of the Moon.

Variables

constexpr double astro::moon::geocentric_coord::EARTH_EQUATORIAL_RADIUS_KM
 Earth's equatorial radius, in kilometers.