public class StelaEquinoctialParameters extends AbstractOrbitalParameters
EquinoctialParameters
parameters.
The parameters used internally are the equinoctial elements which can be related to keplerian elements as follows:
a ex = e cos(ω + Ω) ey = e sin(ω + Ω) ix = sin(i/2) cos(Ω) iy = sin(i/2) sin(Ω) lM = M + ω + Ωwhere ω stands for the Perigee Argument and Ω stands for the Right Ascension of the Ascending Node.
Modifier and Type | Field and Description |
---|---|
static double |
I_LIM
Inclination upper limit.
|
static double |
SIN_I_LIM
Sinus of half limit inclination in type 8.
|
Constructor and Description |
---|
StelaEquinoctialParameters(double aIn,
double exIn,
double eyIn,
double ixIn,
double iyIn,
double lMIn,
double mu,
boolean needCorrection)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
double[] |
correctInclination(double ixIn,
double iyIn)
Inclination correction because of inclination singularity in StelaEquinoctial parameters
around 180deg.
|
boolean |
equals(Object object)
Test for the equality of two orbits.
|
double |
getA()
Get the semi-major axis.
|
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 |
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 |
getLM()
Get the mean longitude argument.
|
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 static final double I_LIM
public static final double SIN_I_LIM
public StelaEquinoctialParameters(double aIn, double exIn, double eyIn, double ixIn, double iyIn, double lMIn, double mu, boolean needCorrection)
aIn
- semi-major axis (m)exIn
- e cos(ω + Ω), first component of eccentricity vectoreyIn
- e sin(ω + Ω), second component of eccentricity vectorixIn
- sin(i/2) cos(Ω), first component of inclination vectoriyIn
- sin(i/2) sin(Ω), second component of inclination vectorlMIn
- M + ω + Ω, mean longitude argument (rad)mu
- central attraction coefficient (m3/s2)needCorrection
- true if the inclination correction has to be doneIllegalArgumentException
- if eccentricity is equal to 1 or largerpublic double getA()
public double getEquinoctialEx()
public double getEquinoctialEy()
public double getIx()
public double getIy()
public double getLM()
public double[] correctInclination(double ixIn, double iyIn)
ixIn
- first component of inclination vectoriyIn
- second component of inclination vectorpublic 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 AlternateEquinoctialParameters getAlternateEquinoctialParameters()
AlternateEquinoctialParameters
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.