|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.orbits.orbitalparameters.AbstractOrbitalParameters org.orekit.orbits.orbitalparameters.KeplerianParameters
public class KeplerianParameters
This class handles traditional keplerian orbital parameters.
The parameters used internally are the classical keplerian elements:
a e i ω Ω vwhere ω stands for the Perigee Argument, Ω stands for the Right Ascension of the Ascending Node and v stands for the true anomaly.
The eccentricity must be greater than or equal to zero.
This class supports hyperbolic orbits, using the convention that semi major axis is negative for such orbits (and of course eccentricity is greater than 1).
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
parameters
is the recommended way to represent orbits.
Constructor Summary | |
---|---|
KeplerianParameters(double a,
double e,
double i,
double pa,
double raan,
double anomaly,
PositionAngle type,
double mu)
Creates a new instance. |
Method Summary | |
---|---|
double |
getA()
Get the semi-major axis. |
double |
getAnomaly(PositionAngle type)
Get the anomaly. |
ApsisAltitudeParameters |
getApsisAltitudeParameters(double ae)
Convert current orbital parameters into apsis (using altitude) parameters. |
ApsisRadiusParameters |
getApsisRadiusParameters()
Convert current orbital parameters into apsis (using radius) parameters. |
CartesianParameters |
getCartesianParameters()
Convert current orbital parameters into cartesian parameters. |
CircularParameters |
getCircularParameters()
Convert current orbital parameters into circular parameters. |
double |
getE()
Get the eccentricity. |
double |
getEccentricAnomaly()
Get the eccentric anomaly. |
EquatorialParameters |
getEquatorialParameters()
Convert current orbital parameters into equatorial parameters. |
EquinoctialParameters |
getEquinoctialParameters()
Convert current orbital parameters into equinoctial parameters. |
double |
getI()
Get the inclination. |
KeplerianParameters |
getKeplerianParameters()
Convert current orbital parameters into Keplerian parameters. |
double |
getMeanAnomaly()
Get the mean anomaly. |
double |
getPerigeeArgument()
Get the perigee argument. |
ReentryParameters |
getReentryParameters(double ae,
double f)
Convert current orbital parameters into reentry parameters. |
double |
getRightAscensionOfAscendingNode()
Get the right ascension of the ascending node. |
StelaEquinoctialParameters |
getStelaEquinoctialParameters()
Convert current orbital parameters into Stela equinoctial parameters. |
double |
getTrueAnomaly()
Get the true anomaly. |
String |
toString()
Returns a string representation of this keplerian parameters object. |
Methods inherited from class org.orekit.orbits.orbitalparameters.AbstractOrbitalParameters |
---|
getMu |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeplerianParameters(double a, double e, double i, double pa, double raan, double anomaly, PositionAngle type, double mu) throws IllegalArgumentException
a
- semi-major axis (m), negative for hyperbolic orbitse
- eccentricity (e >= 0)i
- inclination (rad)pa
- perigee argument (ω, rad)raan
- right ascension of ascending node (Ω, rad)anomaly
- mean, eccentric or true anomaly (rad)type
- type of anomalymu
- central attraction coefficient (m3/s2)
IllegalArgumentException
- a and e don't match for hyperbolic orbits,
or v is out of range for hyperbolic orbitsMethod Detail |
---|
public double getA()
public double getE()
public double getI()
public double getPerigeeArgument()
public double getRightAscensionOfAscendingNode()
public double getAnomaly(PositionAngle type)
type
- type of the angle
public double getTrueAnomaly()
public double getEccentricAnomaly()
public double getMeanAnomaly()
public CartesianParameters getCartesianParameters()
CartesianParameters
public KeplerianParameters getKeplerianParameters()
KeplerianParameters
public CircularParameters getCircularParameters()
CircularParameters
public EquatorialParameters getEquatorialParameters()
EquatorialParameters
public EquinoctialParameters getEquinoctialParameters()
EquinoctialParameters
public ApsisAltitudeParameters getApsisAltitudeParameters(double ae)
ae
- equatorial radius (m)
ApsisAltitudeParameters
public ApsisRadiusParameters getApsisRadiusParameters()
ApsisRadiusParameters
public ReentryParameters getReentryParameters(double ae, double f)
ae
- equatorial radius (m)f
- flattening (f = (a-b)/a)
ReentryParameters
public StelaEquinoctialParameters getStelaEquinoctialParameters()
StelaEquinoctialParameters
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |