Earth Observation Mission CFI Software Lib Software User Manual for JAVA |
Base class for Coord objects. More...
Public Member Functions | |
Coord () | |
Class constructor. | |
Coord (long csRef, long der, double p[], double v[], double a[]) | |
Class constructor. | |
native Geodetic | getGeodetic (ModelId modelId, long deriv) throws CfiError |
Get geodetic coordinates of the input cartesian vector; Assumption: Coordinates are given in EARTH FIXED CS. | |
native void | setGeodetic (ModelId modelId, long deriv, Geodetic geo) throws CfiError |
Set the cartesian vector from the input geodetic coordinates (EARTH FIXED CS). | |
native Kepler | getKepler (ModelId modelId, long mode) throws CfiError |
Get Keplerian elements for the input satellite state vector. | |
native void | setKepler (ModelId modelId, Kepler kep) throws CfiError |
Set cartesian satellite state vector from input Keplerian elements. | |
native StarData | getRaDec (ModelId modelId, long deriv) throws CfiError |
Get the spherical coordinates of the Coord vector. | |
native void | topocentricToEf (ModelId modelId, long mode, long deriv, Coord topOrigin, Topocentric topo) |
Change topocentric to EF CS. | |
native Topocentric | efToTopocentric (ModelId modelId, long mode, long der, Coord topOrigin) |
Change EF to topocentric CS. | |
Public Attributes | |
long | cs |
Coordinate system (enumeration value). | |
long | deriv |
Derivative flag that indicates which derivatives are computed. | |
double | pos [] |
Position vector. | |
double | vel [] |
Velocity vector. | |
double | acc [] |
Acceleration vector. |
Base class for Coord objects.
EECFI.Coord.Coord | ( | ) |
Class constructor.
EECFI.Coord::Coord | ( | long | csRef, | |
long | der, | |||
double | p[], | |||
double | v[], | |||
double | a[] | |||
) |
Class constructor.
csRef | Coord reference system. | |
der | Derivative. | |
p | Position vector. | |
v | Velocity vector. | |
a | Acceleration vector. |
Topocentric EECFI.Coord::efToTopocentric | ( | ModelId | modelId, | |
long | mode, | |||
long | der, | |||
Coord | topOrigin | |||
) |
Change EF to topocentric CS.
modelId | Model id. | |
mode | Flag to indicate if the input coordinates is location or a direction (ModeFlagEnum). | |
der | Flag to indicate if the first derivative has to be computed (XLCFI_NO_DER or XLCFI_DER_1ST). | |
topOrigin | Position of the topocentric CS in the EF CS. |
Get geodetic coordinates of the input cartesian vector; Assumption: Coordinates are given in EARTH FIXED CS.
modelId | Model Id. | |
deriv | derivative to be computed (XLCFI_NO_DER or XLCFI_1ST_DER). | |
deriv | derivative and mode to be computed. The possible values are possible:
The Bowring iterative method is more accurate but it provides a poor runtime perfomance. The Bowring direct method is less accurate than the iterative method at the satellite height, but it provides a better runtime perfomance. |
Get Keplerian elements for the input satellite state vector.
modelId | Model id. | |
mode | input keplerian elements type: XLCFI_KEPLER_MEAN or XLCFI_KEPLER_OSC . |
Get the spherical coordinates of the Coord vector.
Note that Coord object must not be in XLCFI_EF CS.
modelId | Model id. | |
deriv | XLCFI_DER_1ST to compute proper motions and radial velocity (for galactic coordinates derivatives are not computed). |
Set the cartesian vector from the input geodetic coordinates (EARTH FIXED CS).
modelId | Model id. | |
deriv | derivative to be computed (XLCFI_NO_DER or XLCFI_1ST_DER). | |
geo | Geodetic coordinates. |
Set cartesian satellite state vector from input Keplerian elements.
modelId | Model id. | |
kep | input keplerian elements. |
void EECFI.Coord::topocentricToEf | ( | ModelId | modelId, | |
long | mode, | |||
long | deriv, | |||
Coord | topOrigin, | |||
Topocentric | topo | |||
) |
Change topocentric to EF CS.
modelId | Model id. | |
mode | Flag to indicate if the input coordinates is location or a direction (ModeFlagEnum). | |
deriv | Flag to indicate if the first derivative has to be computed (XLCFI_NO_DER or XLCFI_DER_1ST). | |
topOrigin | Position of the topocentric CS in the EF CS. | |
topo | Topocentric coordinates. |
double EECFI.Coord.acc[] |
Acceleration vector.
long EECFI.Coord.cs |
Coordinate system (enumeration value).
long EECFI.Coord.deriv |
Derivative flag that indicates which derivatives are computed.
double EECFI.Coord.pos[] |
Position vector.
double EECFI.Coord.vel[] |
Velocity vector.