siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
Loading...
Searching...
No Matches
siderust::PhaseEvent Struct Reference

A principal lunar phase event (new moon, first quarter, etc.). More...

#include <siderust/lunar_phase.hpp>

Static Public Member Functions

static PhaseEvent from_c (const siderust_phase_event_t &c)
 

Public Attributes

Time< TT, MJDtime
 Epoch of the event (Time<TT, MJD>).
 
PhaseKind kind
 Which principal phase occurred.
 

Detailed Description

A principal lunar phase event (new moon, first quarter, etc.).

Definition at line 73 of file lunar_phase.hpp.

Member Function Documentation

◆ from_c()

static PhaseEvent siderust::PhaseEvent::from_c ( const siderust_phase_event_t &  c)
inlinestatic

Definition at line 77 of file lunar_phase.hpp.

Referenced by siderust::detail::phase_events_from_c().

Member Data Documentation

◆ kind

PhaseKind siderust::PhaseEvent::kind

Which principal phase occurred.

Definition at line 75 of file lunar_phase.hpp.

◆ time

Time<TT, MJD> siderust::PhaseEvent::time

Epoch of the event (Time<TT, MJD>).

Definition at line 74 of file lunar_phase.hpp.


The documentation for this struct was generated from the following file: