public class ApsisRadiusParameters extends AbstractOrbitalParameters
The parameters used internally are the apsis elements which can be related to keplerian elements as follows:
Constructor and Description |
---|
ApsisRadiusParameters(double periapsisIn,
double apoapsisIn,
double i,
double pa,
double raan,
double anomaly,
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.
|
double |
getAnomaly(PositionAngle type)
Get the anomaly.
|
double |
getApoapsis()
Get the apoapsis.
|
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.
|
EquinoctialParameters |
getEquinoctialParameters()
Convert current orbital parameters into equinoctial parameters.
|
double |
getI()
Get the inclination.
|
KeplerianParameters |
getKeplerianParameters()
Convert current orbital parameters into Keplerian parameters.
|
double |
getPeriapsis()
Get the periapsis.
|
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.
|
int |
hashCode()
Get a hashCode for the orbit.
|
String |
toString()
Returns a string representation of this Orbit object.
|
getMu
public ApsisRadiusParameters(double periapsisIn, double apoapsisIn, double i, double pa, double raan, double anomaly, PositionAngle type, double mu)
periapsisIn
- periapsis distance (m)apoapsisIn
- apoapsis distance (m)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)public double getPeriapsis()
public double getApoapsis()
public double getI()
public double getPerigeeArgument()
public double getRightAscensionOfAscendingNode()
public double getAnomaly(PositionAngle type)
type
- type of the anglepublic 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 © 2020 CNES. All rights reserved.