Earth Observation Mission CFI Software Lib Software User Manual |
Base class for Coord objects. More...
Public Member Functions | |
Coord () | |
Class constructor (empty constructor). | |
Coord (long csRef, long der, double pos[3], double vel[3], double acc[3]) | |
Class constructor. | |
Coord (const Coord &other) | |
~Coord () NOEXCEPT | |
Class destructor. | |
Geodetic | getGeodetic (const ModelId &modelId, long deriv) const |
void | setGeodetic (const ModelId &modelId, long deriv, const Geodetic &geo) |
Set the cartesian vector from the input geodetic coordinates (EARTH FIXED CS). | |
Kepler | getKepler (const ModelId &modelId, long mode) const |
Get Keplerian elements for the input satellite state vector. | |
void | setKepler (const ModelId &modelId, const Kepler &kep) |
Set cartesian satellite state vector from input Keplerian elements. | |
StarData | getRaDec (const ModelId &modelId, long deriv) const |
Get the spherical coordinates of the Coord vector. | |
void | topocentricToEf (const ModelId &modelId, long mode, long deriv, const Coord &topOrigin, const Topocentric &topo) |
Change topocentric to EF CS. | |
void | efToTopocentric (const ModelId &modelId, long mode, long der, const Coord &topOrigin, Topocentric &topo) const |
Change EF to topocentric CS. | |
void | operator= (const Coord &c) |
Operator=. | |
Public Attributes | |
long | cs |
Coordinate system (enumeration value). | |
long | deriv |
Derivative flag that indicates which derivatives are computed. | |
double | pos [3] |
Position vector. | |
double | vel [3] |
Velocity vector. | |
double | acc [3] |
Acceleration vector. |
Base class for Coord objects.
EECFI::Coord::Coord | ( | ) |
Class constructor (empty constructor).
EECFI::Coord::Coord | ( | long | csRef, | |
long | der, | |||
double | pos[3], | |||
double | vel[3], | |||
double | acc[3] | |||
) |
Class constructor.
EECFI::Coord::Coord | ( | const Coord & | other | ) |
Copy constructor.
other | The Coord to copy from |
EECFI::Coord::~Coord | ( | ) | [inline] |
Class destructor.
void EECFI::Coord::efToTopocentric | ( | const ModelId & | modelId, | |
long | mode, | |||
long | der, | |||
const Coord & | topOrigin, | |||
Topocentric & | topo | |||
) | const |
Change EF to topocentric CS.
Get geodetic coordinates of the input cartesian vector; Assumption: Coordinates are given in EARTH FIXED CS, otherwise an error message will be thrown.
Get Keplerian elements for the input satellite state vector.
void EECFI::Coord::operator= | ( | const Coord & | c | ) |
Operator=.
Set the cartesian vector from the input geodetic coordinates (EARTH FIXED CS).
Set cartesian satellite state vector from input Keplerian elements.
void EECFI::Coord::topocentricToEf | ( | const ModelId & | modelId, | |
long | mode, | |||
long | deriv, | |||
const Coord & | topOrigin, | |||
const Topocentric & | topo | |||
) |
Change topocentric to EF CS.
double EECFI::Coord::acc[3] |
Acceleration vector.
Referenced by EECFI::StateVector::change(), and EECFI::StateVector::getPositionOnOrbit().
long EECFI::Coord::cs |
Coordinate system (enumeration value).
Referenced by EECFI::StateVector::change().
long EECFI::Coord::deriv |
Derivative flag that indicates which derivatives are computed.
double EECFI::Coord::pos[3] |
Position vector.
Referenced by EECFI::StateVector::change(), and EECFI::StateVector::getPositionOnOrbit().
double EECFI::Coord::vel[3] |
Velocity vector.
Referenced by EECFI::StateVector::change(), and EECFI::StateVector::getPositionOnOrbit().