COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
Additional parameters relating to position that need only be calculated once. More...
#include <convertdef.h>
Public Member Functions | |
json11::Json | to_json () const |
Convert class contents to JSON object. More... | |
void | from_json (const string &js) |
Set class contents from JSON string. More... | |
Public Attributes | |
double | utc = 0. |
Coordinated Universal Time. More... | |
rmatrix | j2b |
Transform from ICRF to Body frame. More... | |
rmatrix | b2j |
Transform from Body frame to ICRF. More... | |
Additional parameters relating to position that need only be calculated once.
|
inline |
|
inline |
Set class contents from JSON string.
Parses the provided JSON-formatted string and sets the class data. String should be formatted like the string returned from to_json()
s | JSON-formatted string to set class contents to |
double extraatt::utc = 0. |
Coordinated Universal Time.
rmatrix extraatt::j2b |
Transform from ICRF to Body frame.
rmatrix extraatt::b2j |
Transform from Body frame to ICRF.