Public Member Functions |
Public Attributes |
Static Public Attributes |
Private Member Functions |
List of all members
pass::celestial_body Struct Reference
#include <constants.hpp>
Collaboration diagram for pass::celestial_body:
Public Member Functions | |
std::pair< std::array< double, 3 >, std::array< double, 3 > > | ephemeris (const double mjd2000) const |
Public Attributes | |
double | mu |
double | penalty |
double | penalty_coefficient |
Static Public Attributes | |
static const celestial_body | SUN |
static const celestial_body | MERCURY |
static const celestial_body | VENUS |
static const celestial_body | EARTH |
static const celestial_body | MARS |
static const celestial_body | JUPITER |
static const celestial_body | SATURN |
static const celestial_body | URANUS |
static const celestial_body | NEPTUNE |
Private Member Functions | |
celestial_body (double mu, double penalty, double penalty_coefficient) noexcept | |
Constructor & Destructor Documentation
◆ celestial_body()
|
privatenoexcept |
Member Function Documentation
◆ ephemeris()
std::pair< std::array< double, 3 >, std::array< double, 3 > > pass::celestial_body::ephemeris | ( | const double | mjd2000 | ) | const |
Returns a tuple (position, velocity).
Here is the call graph for this function:
Member Data Documentation
◆ EARTH
|
static |
◆ JUPITER
|
static |
◆ MARS
|
static |
◆ MERCURY
|
static |
◆ mu
double pass::celestial_body::mu |
◆ NEPTUNE
|
static |
◆ penalty
double pass::celestial_body::penalty |
◆ penalty_coefficient
double pass::celestial_body::penalty_coefficient |
◆ SATURN
|
static |
◆ SUN
|
static |
◆ URANUS
|
static |
◆ VENUS
|
static |
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