|
||||||||||
| 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.KeplerianOrbit
public class KeplerianOrbit
This class handles traditional keplerian orbital parameters.
The parameters used internally are the classical keplerian elements:
a
e
i
ω
Ω
v
where ω stands for the Perigee Argument, Ω stands for the
Right Ascension of the Ascending Node and v stands for the true anomaly.
When orbit is either equatorial or circular, some keplerian elements
(more precisely ω and Ω) become ambiguous so this class should not
be used for such orbits. For this reason, equinoctial
orbits is the recommended way to represent orbits.
The instance KeplerianOrbit is guaranteed to be immutable.
Orbit,
CircularOrbit,
CartesianOrbit,
EquinoctialOrbit,
Serialized Form| Field Summary | |
|---|---|
static double |
E_CIRC
Eccentricity threshold for near circular orbits. |
static int |
ECCENTRIC_ANOMALY
Identifier for eccentric anomaly. |
static int |
MEAN_ANOMALY
Identifier for mean anomaly. |
static int |
TRUE_ANOMALY
Identifier for true anomaly. |
| Constructor Summary | |
|---|---|
KeplerianOrbit(double a,
double e,
double i,
double pa,
double raan,
double anomaly,
int type,
Frame frame,
AbsoluteDate date,
double mu)
Creates a new instance. |
|
KeplerianOrbit(Orbit op)
Constructor from any kind of orbital parameters. |
|
KeplerianOrbit(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 |
getEccentricAnomaly()
Get the eccentric anomaly. |
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. |
double |
getMeanAnomaly()
Get the mean anomaly. |
double |
getPerigeeArgument()
Get the perigee argument. |
double |
getRightAscensionOfAscendingNode()
Get the right ascension of the ascending node. |
double |
getTrueAnomaly()
Get the true anomaly. |
KeplerianOrbit |
shiftedBy(double dt)
Get a time-shifted orbit. |
java.lang.String |
toString()
Returns a string representation of this keplerian parameters 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 |
| Field Detail |
|---|
public static final int MEAN_ANOMALY
public static final int ECCENTRIC_ANOMALY
public static final int TRUE_ANOMALY
public static final double E_CIRC
| Constructor Detail |
|---|
public KeplerianOrbit(double a,
double e,
double i,
double pa,
double raan,
double anomaly,
int type,
Frame frame,
AbsoluteDate date,
double mu)
throws java.lang.IllegalArgumentException
a - semi-major axis (m)e - eccentricityi - inclination (rad)pa - perigee argument (ω, rad)raan - right ascension of ascending node (Ω, rad)anomaly - mean, eccentric or true anomaly (rad)type - type of anomaly, must be one of MEAN_ANOMALY,
ECCENTRIC_ANOMALY or TRUE_ANOMALYframe - the frame in which the parameters are defined
(must be a quasi-inertial frame)date - date of the orbital parametersmu - central attraction coefficient (m3/s2)
java.lang.IllegalArgumentException - if the longitude argument type is not
one of MEAN_ANOMALY, ECCENTRIC_ANOMALY
or TRUE_ANOMALY or if frame is not a quasi-inertial frameMEAN_ANOMALY,
ECCENTRIC_ANOMALY,
TRUE_ANOMALY
public KeplerianOrbit(PVCoordinates pvCoordinates,
Frame frame,
AbsoluteDate date,
double mu)
throws java.lang.IllegalArgumentException
pvCoordinates - the PVCoordinates of the satelliteframe - the frame in which are defined the PVCoordinates
(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 KeplerianOrbit(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 getPerigeeArgument()
public double getRightAscensionOfAscendingNode()
public double getTrueAnomaly()
public double getEccentricAnomaly()
public double getMeanAnomaly()
public 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 KeplerianOrbit 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 | |||||||||