![]() |
siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
|
Geometric description of the Moon's phase at a point in time. More...
#include <siderust/lunar_phase.hpp>
Static Public Member Functions | |
| static MoonPhaseGeometry | from_c (const siderust_moon_phase_geometry_t &c) |
Public Attributes | |
| qtty::Radian | phase_angle |
| Phase angle in [0, π]. | |
| double | illuminated_fraction |
| Illuminated disc fraction in [0, 1]. | |
| qtty::Radian | elongation |
| Sun–Moon elongation. | |
| bool | waxing |
| True when the Moon is waxing. | |
Geometric description of the Moon's phase at a point in time.
Definition at line 58 of file lunar_phase.hpp.
|
inlinestatic |
Definition at line 64 of file lunar_phase.hpp.
References illuminated_fraction.
Referenced by siderust::moon::phase_geocentric(), and siderust::moon::phase_topocentric().
| qtty::Radian siderust::MoonPhaseGeometry::elongation |
Sun–Moon elongation.
Definition at line 61 of file lunar_phase.hpp.
Referenced by siderust::moon::phase_label().
| double siderust::MoonPhaseGeometry::illuminated_fraction |
Illuminated disc fraction in [0, 1].
Definition at line 60 of file lunar_phase.hpp.
Referenced by from_c(), siderust::illuminated_percent(), and siderust::moon::phase_label().
| qtty::Radian siderust::MoonPhaseGeometry::phase_angle |
Phase angle in [0, π].
Definition at line 59 of file lunar_phase.hpp.
Referenced by siderust::moon::phase_label().
| bool siderust::MoonPhaseGeometry::waxing |
True when the Moon is waxing.
Definition at line 62 of file lunar_phase.hpp.
Referenced by siderust::moon::phase_label().