public class EquatorialParameters extends AbstractOrbitalParameters
The parameters used internally are the following elements:
a semi-major axis (m) e eccentricity pomega = ω + Ω , longitude of the periapsis; ix = 2 sin(i/2) cos(Ω), first component of inclination vector iy = 2 sin(i/2) sin(Ω), second component of inclination vector anomaly (M or E or v);, mean, eccentric or true anomaly (rad)where ω stands for the Periapsis Argument, Ω stands for the Right Ascension of the Ascending Node.
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 and Description |
---|
EquatorialParameters(double aIn,
double eIn,
double pomegaIn,
double ixIn,
double iyIn,
double anomaly,
PositionAngle type,
double mu)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
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 |
getIx()
Get the first component of the inclination vector.
|
double |
getIy()
Get the second component of the inclination vector.
|
KeplerianParameters |
getKeplerianParameters()
Convert current orbital parameters into Keplerian parameters.
|
double |
getMeanAnomaly()
Get the mean anomaly.
|
double |
getPomega()
Get the longitude of the periapsis (ω + Ω).
|
ReentryParameters |
getReentryParameters(double ae,
double f)
Convert current orbital parameters into reentry parameters.
|
StelaEquinoctialParameters |
getStelaEquinoctialParameters()
Convert current orbital parameters into Stela equinoctial parameters.
|
double |
getTrueAnomaly()
Get the true anomaly.
|
String |
toString()
Returns a string representation of this non circular equatorial
orbital parameters object.
|
getMu
public EquatorialParameters(double aIn, double eIn, double pomegaIn, double ixIn, double iyIn, double anomaly, PositionAngle type, double mu)
aIn
- semi-major axis (m)eIn
- eccentricitypomegaIn
- ω + Ω (rad)ixIn
- 2 sin(i/2) cos(Ω), first component of inclination vectoriyIn
- 2 sin(i/2) sin(Ω), second component of inclination vectoranomaly
- (M or E or v) = anomaly mean, eccentric or true anomaly (rad)type
- type of anomalymu
- central attraction coefficient (m3/s2)IllegalArgumentException
- if orbit is hyperbolicIllegalArgumentException
- if orbit mismatch with conic typeIllegalArgumentException
- if inclination vector is not valid, meaning ix^2 + iy^2 > 4public double getA()
public double getE()
public double getIx()
public double getIy()
public double getPomega()
public double getAnomaly(PositionAngle type)
type
- type of the anglepublic double getTrueAnomaly()
public double getMeanAnomaly()
public double getEccentricAnomaly()
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
Copyright © 2017 CNES. All rights reserved.