|
Time Shield Library
C++ library for working with time
|
Result of Moon phase computation (geocentric approximation). More...
#include <MoonPhase.hpp>
Public Attributes | |
| double | phase = 0.0 |
| Phase fraction in [0..1). 0=new moon, 0.5=full moon. | |
| double | illumination = 0.0 |
| Illuminated fraction in [0..1]. | |
| double | age_days = 0.0 |
| Age of the Moon in days since new moon (approx). | |
| double | distance_km = 0.0 |
| Distance to Moon in km (approx). | |
| double | diameter_deg = 0.0 |
| Angular diameter of Moon in degrees (approx). | |
| double | age_deg = 0.0 |
| Phase angle in degrees (0..360). | |
| double | phase_angle_rad = 0.0 |
| Phase angle in radians (0..2*pi). | |
| double | phase_sin = 0.0 |
| sin(phase_angle_rad) helper for continuous signal. | |
| double | phase_cos = 0.0 |
| cos(phase_angle_rad) helper for continuous signal. | |
| double | sun_distance_km = 0.0 |
| double | sun_diameter_deg = 0.0 |
Result of Moon phase computation (geocentric approximation).
Definition at line 22 of file MoonPhase.hpp.
| double time_shield::astronomy::MoonPhaseResult::age_days = 0.0 |
Age of the Moon in days since new moon (approx).
Definition at line 25 of file MoonPhase.hpp.
| double time_shield::astronomy::MoonPhaseResult::age_deg = 0.0 |
Phase angle in degrees (0..360).
Definition at line 28 of file MoonPhase.hpp.
| double time_shield::astronomy::MoonPhaseResult::diameter_deg = 0.0 |
Angular diameter of Moon in degrees (approx).
Definition at line 27 of file MoonPhase.hpp.
| double time_shield::astronomy::MoonPhaseResult::distance_km = 0.0 |
Distance to Moon in km (approx).
Definition at line 26 of file MoonPhase.hpp.
| double time_shield::astronomy::MoonPhaseResult::illumination = 0.0 |
Illuminated fraction in [0..1].
Definition at line 24 of file MoonPhase.hpp.
| double time_shield::astronomy::MoonPhaseResult::phase = 0.0 |
Phase fraction in [0..1). 0=new moon, 0.5=full moon.
Definition at line 23 of file MoonPhase.hpp.
| double time_shield::astronomy::MoonPhaseResult::phase_angle_rad = 0.0 |
Phase angle in radians (0..2*pi).
Definition at line 29 of file MoonPhase.hpp.
| double time_shield::astronomy::MoonPhaseResult::phase_cos = 0.0 |
cos(phase_angle_rad) helper for continuous signal.
Definition at line 31 of file MoonPhase.hpp.
| double time_shield::astronomy::MoonPhaseResult::phase_sin = 0.0 |
sin(phase_angle_rad) helper for continuous signal.
Definition at line 30 of file MoonPhase.hpp.
| double time_shield::astronomy::MoonPhaseResult::sun_diameter_deg = 0.0 |
Definition at line 33 of file MoonPhase.hpp.
| double time_shield::astronomy::MoonPhaseResult::sun_distance_km = 0.0 |
Definition at line 32 of file MoonPhase.hpp.