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

Proper motion for a star (equatorial). More...

#include <siderust/bodies.hpp>

Public Member Functions

 ProperMotion (double ra, double dec, RaConvention conv=RaConvention::MuAlphaStar)
 
siderust_proper_motion_t to_c () const
 

Public Attributes

double pm_ra_deg_yr
 RA proper motion (deg/yr).
 
double pm_dec_deg_yr
 Dec proper motion (deg/yr).
 
RaConvention convention
 RA rate convention.
 

Detailed Description

Proper motion for a star (equatorial).

Definition at line 23 of file bodies.hpp.

Constructor & Destructor Documentation

◆ ProperMotion()

siderust::ProperMotion::ProperMotion ( double  ra,
double  dec,
RaConvention  conv = RaConvention::MuAlphaStar 
)
inline

Definition at line 28 of file bodies.hpp.

Member Function Documentation

◆ to_c()

siderust_proper_motion_t siderust::ProperMotion::to_c ( ) const
inline

Definition at line 32 of file bodies.hpp.

References convention, pm_dec_deg_yr, and pm_ra_deg_yr.

Member Data Documentation

◆ convention

RaConvention siderust::ProperMotion::convention

RA rate convention.

Definition at line 26 of file bodies.hpp.

Referenced by to_c().

◆ pm_dec_deg_yr

double siderust::ProperMotion::pm_dec_deg_yr

Dec proper motion (deg/yr).

Definition at line 25 of file bodies.hpp.

Referenced by to_c().

◆ pm_ra_deg_yr

double siderust::ProperMotion::pm_ra_deg_yr

RA proper motion (deg/yr).

Definition at line 24 of file bodies.hpp.

Referenced by to_c().


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