|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.orbits.Orbit
public abstract class Orbit
This class handles orbital parameters without date.
The aim of this class is to separate the orbital parameters from the date for cases where dates are managed elsewhere. This occurs for example during numerical integration and interpolation because date is the free parameter whereas the orbital parameters are bound to either differential or interpolation equations.
For user convenience, both the cartesian and the equinoctial elements are provided by this class, regardless of the canonical representation implemented in the derived class (which may be classical keplerian elements for example).
The parameters are defined in a frame specified by the user. It is important to make sure this frame is consistent: it probably is inertial and centered on the central body. This information is used for example by some force models.
The object OrbitalParameters is guaranteed to be immutable.
| Constructor Summary | |
|---|---|
protected |
Orbit(Frame frame,
AbsoluteDate date,
double mu)
Default constructor. |
protected |
Orbit(PVCoordinates pvCoordinates,
Frame frame,
AbsoluteDate date,
double mu)
Set the orbit from cartesian parameters. |
| Method Summary | |
|---|---|
abstract double |
getA()
Get the semi-major axis. |
AbsoluteDate |
getDate()
Get the date of orbital parameters. |
abstract double |
getE()
Get the eccentricity. |
abstract double |
getEquinoctialEx()
Get the first component of the equinoctial eccentricity vector. |
abstract double |
getEquinoctialEy()
Get the second component of the equinoctial eccentricity vector. |
Frame |
getFrame()
Get the frame in which the orbital parameters are defined. |
abstract double |
getHx()
Get the first component of the inclination vector. |
abstract double |
getHy()
Get the second component of the inclination vector. |
abstract double |
getI()
Get the inclination. |
double |
getKeplerianMeanMotion()
Get the keplerian mean motion. |
double |
getKeplerianPeriod()
Get the keplerian period. |
abstract double |
getLE()
Get the eccentric latitude argument. |
abstract double |
getLM()
Get the mean latitude argument. |
abstract double |
getLv()
Get the true latitude argument. |
double |
getMu()
Get the central acceleration constant. |
PVCoordinates |
getPVCoordinates()
Get the PVCoordinates in definition frame. |
PVCoordinates |
getPVCoordinates(Frame outputFrame)
Get the PVCoordinates. |
abstract Orbit |
shiftedBy(double dt)
Get a time-shifted orbit. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Orbit(Frame frame,
AbsoluteDate date,
double mu)
throws java.lang.IllegalArgumentException
frame - the frame in which the parameters are defined
(must be a quasi-inertial frame)date - date of the orbital parametersmu - central attraction coefficient (m^3/s^2)
java.lang.IllegalArgumentException - if frame is not a quasi-inertial frame
protected Orbit(PVCoordinates pvCoordinates,
Frame frame,
AbsoluteDate date,
double mu)
throws java.lang.IllegalArgumentException
pvCoordinates - the position and velocity in the inertial frameframe - the frame in which the PVCoordinates are defined
(must be a quasi-inertial frame)date - date of the orbital parametersmu - central attraction coefficient (m^3/s^2)
java.lang.IllegalArgumentException - if frame is not a quasi-inertial frame| Method Detail |
|---|
public Frame getFrame()
public abstract double getA()
public abstract double getEquinoctialEx()
public abstract double getEquinoctialEy()
public abstract double getHx()
public abstract double getHy()
public abstract double getLE()
public abstract double getLv()
public abstract double getLM()
public abstract double getE()
public abstract double getI()
public double getMu()
public double getKeplerianPeriod()
The keplerian period is computed directly from semi major axis and central acceleration constant.
public double getKeplerianMeanMotion()
The keplerian mean motion is computed directly from semi major axis and central acceleration constant.
public AbsoluteDate getDate()
getDate in interface TimeStamped
public PVCoordinates getPVCoordinates(Frame outputFrame)
throws OrekitException
PVCoordinates.
outputFrame - frame in which the position/velocity coordinates shall be computed
OrekitException - if transformation between frames cannot be computedgetPVCoordinates()public PVCoordinates getPVCoordinates()
PVCoordinates in definition frame.
getPVCoordinates(Frame)public abstract Orbit 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.
dt - time shift in seconds
AbsoluteDate.shiftedBy(double),
PVCoordinates.shiftedBy(double),
Attitude.shiftedBy(double),
SpacecraftState.shiftedBy(double)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||