pass::asteroid Struct Reference

#include <constants.hpp>

Public Member Functions

 asteroid (std::array< double, 6 > keplerian, double epoch, double mu) noexcept
 
std::pair< std::array< double, 3 >, std::array< double, 3 > > ephemeris (const double jd) const
 

Public Attributes

std::array< double, 6 > keplerian
 
double epoch
 
double mu
 

Constructor & Destructor Documentation

◆ asteroid()

pass::asteroid::asteroid ( std::array< double, 6 >  keplerian,
double  epoch,
double  mu 
)
noexcept

Member Function Documentation

◆ ephemeris()

std::pair< std::array< double, 3 >, std::array< double, 3 > > pass::asteroid::ephemeris ( const double  jd) const

Returns a tuple (position, velocity).

Here is the call graph for this function:

Member Data Documentation

◆ epoch

double pass::asteroid::epoch

◆ keplerian

std::array<double, 6> pass::asteroid::keplerian

◆ mu

double pass::asteroid::mu

The documentation for this struct was generated from the following files:
  • /Users/romeo/Desktop/PASS/include/pass_bits/helper/astro_problems/constants.hpp
  • /Users/romeo/Desktop/PASS/src/helper/astro_problems/constants.cpp