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

Namespaces

namespace  astro
namespace  astro::lunar_node
namespace  astro::lunar_node::detail

Enumerations

enum class  astro::lunar_node::Node : uint8_t { astro::lunar_node::MEAN_ASCENDING , astro::lunar_node::MEAN_DESCENDING , astro::lunar_node::TRUE_ASCENDING , astro::lunar_node::TRUE_DESCENDING }
 Mean or true lunar nodes. More...

Functions

auto astro::lunar_node::detail::validate (const Node node, const double jde_tt) -> void
 Validate node identity before finite JDE(TT) and the half-open position window.
auto astro::lunar_node::detail::mean_ascending (const double jc) -> toolbox::AngleDeg
auto astro::lunar_node::detail::true_ascending (const double jc) -> toolbox::AngleDeg
auto astro::lunar_node::position (const Node node, const double jde_tt) -> toolbox::AngleDeg
 Calculate a mean or true lunar-node longitude.

Variables

constexpr double astro::lunar_node::START_JDE_TT
 Inclusive start of the lunar-node position models, in JDE(TT).
constexpr double astro::lunar_node::END_JDE_TT
 Exclusive end of the lunar-node position models, in JDE(TT).