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

Cartesian velocity in AU/day, tagged by reference frame. More...

#include <siderust/runtime_ephemeris.hpp>

Static Public Member Functions

static CartesianVelocity from_c (const siderust_cartesian_vel_t &v)
 Construct from the raw C struct.
 

Public Attributes

double vx
 X component (AU/day).
 
double vy
 Y component (AU/day).
 
double vz
 Z component (AU/day).
 
siderust_frame_t frame
 

Detailed Description

Cartesian velocity in AU/day, tagged by reference frame.

Returned by RuntimeEphemeris::earth_barycentric_velocity.

Definition at line 34 of file runtime_ephemeris.hpp.

Member Function Documentation

◆ from_c()

static CartesianVelocity siderust::CartesianVelocity::from_c ( const siderust_cartesian_vel_t &  v)
inlinestatic

Construct from the raw C struct.

Definition at line 41 of file runtime_ephemeris.hpp.

References vx.

Referenced by siderust::RuntimeEphemeris::earth_barycentric_velocity().

Member Data Documentation

◆ frame

siderust_frame_t siderust::CartesianVelocity::frame

Definition at line 38 of file runtime_ephemeris.hpp.

◆ vx

double siderust::CartesianVelocity::vx

X component (AU/day).

Definition at line 35 of file runtime_ephemeris.hpp.

Referenced by from_c().

◆ vy

double siderust::CartesianVelocity::vy

Y component (AU/day).

Definition at line 36 of file runtime_ephemeris.hpp.

◆ vz

double siderust::CartesianVelocity::vz

Z component (AU/day).

Definition at line 37 of file runtime_ephemeris.hpp.


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