#include <satellite_element_propagator.hpp>
Note that this transforms from kilometers/days to meters/seconds.
Definition at line 64 of file satellite_element_propagator.hpp.
Public Member Functions | |
BROKER_DECLARE_CREATOR (periapsis::space::satellite_element_propagator) | |
virtual const gsgl::string & | get_type_name () const |
satellite_element_propagator (const gsgl::data::config_record &obj_config) | |
virtual void | update (const double jdn, gsgl::math::vector &position, gsgl::math::vector &velocity) |
virtual | ~satellite_element_propagator () |
Private Member Functions | |
void | get_elements (const gsgl::string &str) |
Private Attributes | |
double | data [13] |
bool | has_data |
satellite_element_propagator | ( | const gsgl::data::config_record & | obj_config | ) |
Definition at line 53 of file satellite_element_propagator.cpp.
References satellite_element_propagator::get_elements().
~satellite_element_propagator | ( | ) | [virtual] |
Definition at line 60 of file satellite_element_propagator.cpp.
BROKER_DECLARE_CREATOR | ( | periapsis::space::satellite_element_propagator | ) |
void get_elements | ( | const gsgl::string & | str | ) | [private] |
Definition at line 65 of file satellite_element_propagator.cpp.
References satellite_element_propagator::data, gsgl::math::DEG2RAD, satellite_element_propagator::has_data, iterable::iter(), and string::split().
Referenced by satellite_element_propagator::satellite_element_propagator().
const gsgl::string & get_type_name | ( | ) | const [virtual, inherited] |
Definition at line 54 of file broker.cpp.
References countable::is_empty(), and brokered_object::type_name.
Referenced by node::draw_scene(), and simulation::update_node().
void update | ( | const double | jdn, | |
gsgl::math::vector & | position, | |||
gsgl::math::vector & | velocity | |||
) | [virtual] |
Implements propagator.
Definition at line 144 of file satellite_element_propagator.cpp.
References satellite_element_propagator::data, gsgl::math::DEG2RAD, vector::get_w(), vector::get_x(), vector::get_y(), vector::get_z(), satellite_element_propagator::has_data, gsgl::math::units::METERS_PER_KILOMETER, gsgl::math::PI, and gsgl::math::units::SECONDS_PER_DAY.
double data[13] [private] |
Definition at line 67 of file satellite_element_propagator.hpp.
Referenced by satellite_element_propagator::get_elements(), and satellite_element_propagator::update().
bool has_data [private] |
Definition at line 68 of file satellite_element_propagator.hpp.
Referenced by satellite_element_propagator::get_elements(), and satellite_element_propagator::update().