|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.orbits.Orbit
org.orekit.orbits.CartesianOrbit
public class CartesianOrbit
This class holds cartesian orbital parameters.
The parameters used internally are the cartesian coordinates:
PVCoordinates.
Note that the implementation of this class delegates all non-cartesian related
computations (getA(), getEquinoctialEx(), ...) to an underlying
instance of the EquinoctialOrbit class. This implies that using this class
only for analytical computations which are always based on non-cartesian
parameters is perfectly possible but somewhat sub-optimal.
The instance CartesianOrbit is guaranteed to be immutable.
Orbit,
KeplerianOrbit,
CircularOrbit,
EquinoctialOrbit,
Serialized Form| Constructor Summary | |
|---|---|
CartesianOrbit(Orbit op)
Constructor from any kind of orbital parameters. |
|
CartesianOrbit(PVCoordinates pvCoordinates,
Frame frame,
AbsoluteDate date,
double mu)
Constructor from cartesian parameters. |
|
| Method Summary | |
|---|---|
double |
getA()
Get the semi-major axis. |
double |
getE()
Get the eccentricity. |
double |
getEquinoctialEx()
Get the first component of the eccentricity vector. |
double |
getEquinoctialEy()
Get the second component of the eccentricity vector. |
double |
getHx()
Get the first component of the inclination vector. |
double |
getHy()
Get the second component of the inclination vector. |
double |
getI()
Get the inclination. |
double |
getLE()
Get the eccentric latitude argument. |
double |
getLM()
Get the mean latitude argument. |
double |
getLv()
Get the true latitude argument. |
CartesianOrbit |
shiftedBy(double dt)
Get a time-shifted orbit. |
java.lang.String |
toString()
Returns a string representation of this Orbit object. |
| Methods inherited from class org.orekit.orbits.Orbit |
|---|
getDate, getFrame, getKeplerianMeanMotion, getKeplerianPeriod, getMu, getPVCoordinates, getPVCoordinates |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CartesianOrbit(PVCoordinates pvCoordinates,
Frame frame,
AbsoluteDate date,
double mu)
throws java.lang.IllegalArgumentException
pvCoordinates - the position and velocity of the satellite.frame - the frame in which the PVCoordinates are defined
(must be a quasi-inertial frame)date - date of the orbital parametersmu - central attraction coefficient (m3/s2)
java.lang.IllegalArgumentException - if frame is not a quasi-inertial framepublic CartesianOrbit(Orbit op)
op - orbital parameters to copy| Method Detail |
|---|
public double getA()
getA in class Orbitpublic double getE()
getE in class Orbitpublic double getI()
getI in class Orbitpublic double getEquinoctialEx()
getEquinoctialEx in class Orbitpublic double getEquinoctialEy()
getEquinoctialEy in class Orbitpublic double getHx()
getHx in class Orbitpublic double getHy()
getHy in class Orbitpublic double getLv()
getLv in class Orbitpublic double getLE()
getLE in class Orbitpublic double getLM()
getLM in class Orbitpublic CartesianOrbit shiftedBy(double dt)
The orbit can be slightly shifted to close dates. This shift is based on a simple keplerian model. It is not intended as a replacement for proper orbit and attitude propagation but should be sufficient for small time shifts or coarse accuracy.
shiftedBy in class Orbitdt - time shift in seconds
AbsoluteDate.shiftedBy(double),
PVCoordinates.shiftedBy(double),
Attitude.shiftedBy(double),
SpacecraftState.shiftedBy(double)public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||