CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
Loading...
Searching...
No Matches
chart.hpp File Reference
#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdint>
#include <format>
#include <functional>
#include <optional>
#include <stdexcept>
#include <tuple>
#include "delta_t.hpp"
#include "ephemeris.hpp"
#include "geolocation.hpp"
#include "house.hpp"
#include "julian_day.hpp"
#include "toolbox.hpp"

Classes

struct  astro::chart::BodyState
 Geocentric position and longitude rate in the true ecliptic and equinox of date. More...
struct  astro::chart::Snapshot
 An independent fixed-instant chart value; bodies follow the ephemeris target roster. More...

Namespaces

namespace  astro
namespace  astro::chart
namespace  astro::chart::detail

Functions

constexpr auto astro::chart::civil_derived_tt_cutoff (const astro::delta_t::Model model) -> std::optional< double >
 Exclusive derived-TT cutoff for this civil policy, only where the selected model binds it.
auto astro::chart::detail::with_delta_t_domain_context (const astro::delta_t::Model model, const astro::julian_day::Scale scale, const auto &convert) -> decltype(convert())
 Add model-domain context to the Algo4 forward conversion from civil UT1.
auto astro::chart::detail::evaluate_bodies (const double jde_tt) -> decltype(Snapshot::bodies)
 Evaluate positions then rates in target-roster order at one admitted chart JDE(TT).
auto astro::chart::resolve_civil_times (const calendar::Datetime &civil_dt, const astro::julian_day::Scale scale, const astro::delta_t::Model model=astro::delta_t::DEFAULT_MODEL) -> astro::julian_day::Times
 Resolve a civil instant under the adopted chart/civil-house admission policy.
auto astro::chart::calculate (const calendar::Datetime &civil_dt, const astro::julian_day::Scale scale, const astro::GeoLocation &location, const astro::house::System system, const astro::delta_t::Model model=astro::delta_t::DEFAULT_MODEL) -> Snapshot
 Calculate geocentric positions, rates and house geometry at an explicitly scaled civil instant.

Variables

constexpr int32_t astro::chart::CIVIL_START_YEAR
 Adopted civil-year policy for charts and civil house queries.
constexpr int32_t astro::chart::CIVIL_END_YEAR_EXCLUSIVE
constexpr std::size_t astro::chart::BODY_COUNT
constexpr auto astro::chart::detail::JOINT_DOMAIN
constexpr double astro::chart::detail::START_JDE_TT
constexpr double astro::chart::detail::END_JDE_TT