public class AlternateEquinoctialParameters extends AbstractOrbitalParameters
The parameters used internally are the alternate equinoctial elements which can be related to keplerian elements as follows:
n ex = e cos(ω + Ω) ey = e sin(ω + Ω) hx = tan(i/2) cos(Ω) hy = tan(i/2) sin(Ω) lM = M + ω + Ωwhere ω stands for the Perigee Argument and Ω stands for the Right Ascension of the Ascending Node.
Alternate equinoctial parameters are derived from equinoctial parameter (see EquinoctialParameters
for more
information) and they are particularly interesting for uncertainty propagation.
Constructor and Description |
---|
AlternateEquinoctialParameters(double nIn,
double exIn,
double eyIn,
double hxIn,
double hyIn,
double l,
PositionAngle type,
double mu)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Test for the equality of two orbits.
|
AlternateEquinoctialParameters |
getAlternateEquinoctialParameters()
Convert current orbital parameters into alternate equinoctial parameters.
|
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.
|
EquatorialParameters |
getEquatorialParameters()
Convert current orbital parameters into equatorial parameters.
|
double |
getEquinoctialEx()
Get the first component of the eccentricity vector.
|
double |
getEquinoctialEy()
Get the second component of the eccentricity vector.
|
EquinoctialParameters |
getEquinoctialParameters()
Convert current orbital parameters into equinoctial parameters.
|
double |
getHx()
Get the first component of the inclination vector.
|
double |
getHy()
Get the second component of the inclination vector.
|
KeplerianParameters |
getKeplerianParameters()
Convert current orbital parameters into Keplerian parameters.
|
double |
getL(PositionAngle type)
Get the longitude argument.
|
double |
getLE()
Get the eccentric longitude argument.
|
double |
getLM()
Get the mean longitude argument.
|
double |
getLv()
Get the true longitude argument.
|
double |
getN()
Get the mean motion.
|
ReentryParameters |
getReentryParameters(double ae,
double f)
Convert current orbital parameters into reentry parameters.
|
StelaEquinoctialParameters |
getStelaEquinoctialParameters()
Convert current orbital parameters into Stela equinoctial parameters.
|
int |
hashCode()
Get a hashCode for the orbit.
|
String |
toString()
Returns a string representation of this orbit parameters object.
|
getMu
public AlternateEquinoctialParameters(double nIn, double exIn, double eyIn, double hxIn, double hyIn, double l, PositionAngle type, double mu)
nIn
- mean motion (1/s)exIn
- e cos(ω + Ω), first component of eccentricity vectoreyIn
- e sin(ω + Ω), second component of eccentricity vectorhxIn
- tan(i/2) cos(Ω), first component of inclination vectorhyIn
- tan(i/2) sin(Ω), second component of inclination vectorl
- (M or E or v) + ω + Ω, mean, eccentric or true longitude argument (rad)type
- type of longitude argumentmu
- central attraction coefficient (m3/s2)IllegalArgumentException
- if eccentricity is equal to 1 or largerpublic double getN()
public double getEquinoctialEx()
public double getEquinoctialEy()
public double getHx()
public double getHy()
public double getL(PositionAngle type)
type
- type of the anglepublic double getLM()
public double getLv()
public double getLE()
public CartesianParameters getCartesianParameters()
CartesianParameters
public KeplerianParameters getKeplerianParameters()
KeplerianParameters
public CircularParameters getCircularParameters()
CircularParameters
public EquatorialParameters getEquatorialParameters()
EquatorialParameters
public AlternateEquinoctialParameters getAlternateEquinoctialParameters()
AlternateEquinoctialParameters
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()
public boolean equals(Object object)
Orbits are considered equals if they have the same type and all their attributes are equals. In particular, the orbits frame are considered equals if they represent the same instance. If they have the same attributes but are not the same instance, the method will return false.
equals
in interface IOrbitalParameters
equals
in class Object
object
- Object to test for equality to thispublic int hashCode()
hashCode
in interface IOrbitalParameters
hashCode
in class Object
Copyright © 2021 CNES. All rights reserved.