public final class KeplerianParamComputer extends Object
CL_kp_characteristics method from Celestlab| Constructor and Description |
|---|
KeplerianParamComputer(double sma,
double ecc,
double v)
Simple constructor with bodyRadius set to
Constants.EGM96_EARTH_EQUATORIAL_RADIUS and gravitationnal
parameter set to Constants.EGM96_EARTH_MU. |
KeplerianParamComputer(double sma,
double ecc,
double v,
double bodyRadius,
double mu)
Constructor of the class.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCArea()
Compute and return the C constant for the law of areas for the provided orbit.
|
double |
getCCon()
Compute and return the conic's c parameter for the provided orbit, also known as the linear eccentricity.
|
double |
getDinf()
Compute and return the distance between the asymptote and the focus point for the provided orbit.
|
double |
getDva()
Compute and return the delta-V needed to reach liberation velocity at apoapsis for the provided orbit.
|
double |
getDvp()
Compute and return the delta-V needed to reach liberation velocity at periapsis for the provided orbit.
|
double |
getE()
Return the eccentric anomaly for the provided orbit.
|
double |
getEcc()
Returns the eccentricity of the provided orbit.
|
double |
getEnergy()
Compute and return the energy of the provided orbit.
|
double |
getHa()
Compute and return the altitude at apoapsis of the provided orbit.
|
double |
getHp()
Compute and return the altitude at periapsis of the provided orbit.
|
static List<KeplerianParamComputer> |
getKeplerianParams(double[] sma,
double[] ecc,
double[] v)
Generate instances of
KeplerianParamComputer based on the provided sma, ecc and v arrays. |
static List<KeplerianParamComputer> |
getKeplerianParams(double[] sma,
double[] ecc,
double[] v,
double bodyRadius,
double mu)
Generate instances of
KeplerianParamComputer based on the provided sma, ecc and v arrays. |
double |
getLCon()
Compute and return the conic's l parameter for the provided orbit, also known as the semi-latus rectum.
|
double |
getM()
Return the mean anomaly for the provided orbit.
|
double |
getMeanMotion()
Compute and return the mean motion of the provided orbit.
|
double |
getPeriod()
Compute and return the hyperbolic excess velocity of the provided orbit.
|
double |
getR()
Compute and return the current radius for the provided orbit.
|
double |
getRa()
Compute and return the radius at apoapsis of the provided orbit.
|
double |
getRp()
Compute and return the radius at periapsis of the provided orbit.
|
double |
getSlope()
Compute and return the current velocity slope for the provided orbit.
|
double |
getSma()
Returns the semi-major axis of the provided orbit.
|
double |
getSmb()
Compute and return the semi-minor axis for the provided orbit.
|
double |
getTaninf()
Compute and return the true anomaly at infinity for the provided orbit.
|
double |
getTperi()
Compute and return the time elapsed from last periapsis for the provided orbit.
|
double |
getV()
Return the true anomaly for the provided orbit.
|
double |
getVa()
Compute and return the velocity at apoapsis of the provided orbit.
|
double |
getVel()
Compute and return the current velocity for the provided orbit.
|
double |
getVinf()
Compute and return the hyperbolic excess velocity of the provided orbit.
|
double |
getVla()
Compute and return the liberation velocity at apoapsis for the provided orbit.
|
double |
getVlp()
Compute and return the liberation velocity at periapsis for the provided orbit.
|
double |
getVp()
Compute and return the velocity at periapsis of the provided orbit.
|
double |
getX()
Compute and return the current position on the X-axis for the provided orbit.
|
double |
getY()
Compute and return the current position on the Y-axis for the provided orbit.
|
boolean |
isHyperbolic()
Indicates if the provided orbit is hyperbolic.
|
public KeplerianParamComputer(double sma,
double ecc,
double v)
throws PatriusException
Constants.EGM96_EARTH_EQUATORIAL_RADIUS and gravitationnal
parameter set to Constants.EGM96_EARTH_MU.sma - Semi-major axis (m)ecc - Eccentricityv - True anomaly (rad)PatriusException - if the inputs are not validpublic KeplerianParamComputer(double sma,
double ecc,
double v,
double bodyRadius,
double mu)
throws PatriusException
sma - Semi-major axis (m)ecc - Eccentricityv - True anomaly (rad)bodyRadius - Radius of the central body (m)mu - Gravitational parameter of the central first body (m^3/s^2)PatriusException - if the inputs are not validpublic boolean isHyperbolic()
public double getSma()
public double getEcc()
public double getRa()
throws PatriusException
All keplerian characteristics are computed once.
PatriusException - on internal errorpublic double getRp()
throws PatriusException
All keplerian characteristics are computed once.
PatriusException - if incompatible or unhandled types are providedpublic double getHa()
throws PatriusException
All keplerian characteristics are computed once.
PatriusException - if incompatible or unhandled types are providedpublic double getHp()
throws PatriusException
All keplerian characteristics are computed once.
PatriusException - if incompatible or unhandled types are providedpublic double getVa()
throws PatriusException
All keplerian characteristics are computed once.
PatriusException - if incompatible or unhandled types are providedpublic double getVp()
throws PatriusException
All keplerian characteristics are computed once.
PatriusException - if incompatible or unhandled types are providedpublic double getVinf()
throws PatriusException
All keplerian characteristics are computed once.
PatriusException - if incompatible or unhandled types are providedpublic double getPeriod()
All keplerian characteristics are computed once.
public double getMeanMotion()
All keplerian characteristics are computed once.
public double getEnergy()
All keplerian characteristics are computed once.
public double getCArea()
All keplerian characteristics are computed once.
public double getLCon()
All keplerian characteristics are computed once.
public double getCCon()
All keplerian characteristics are computed once.
public double getSmb()
All keplerian characteristics are computed once.
public double getDinf()
All keplerian characteristics are computed once.
public double getVlp()
throws PatriusException
All keplerian characteristics are computed once.
PatriusException - if incompatible or unhandled types are providedpublic double getVla()
throws PatriusException
All keplerian characteristics are computed once.
PatriusException - if incompatible or unhandled types are providedpublic double getDvp()
throws PatriusException
All keplerian characteristics are computed once.
PatriusException - if incompatible or unhandled types are providedpublic double getDva()
throws PatriusException
All keplerian characteristics are computed once.
PatriusException - if incompatible or unhandled types are providedpublic double getV()
public double getM()
public double getE()
public double getTaninf()
All keplerian characteristics are computed once.
public double getTperi()
All keplerian characteristics are computed once.
public double getR()
All keplerian characteristics are computed once.
public double getX()
The position is computed once.
public double getY()
The position is computed once.
public double getSlope()
The position is computed once.
public double getVel()
The velocity is computed once.
public static List<KeplerianParamComputer> getKeplerianParams(double[] sma, double[] ecc, double[] v) throws PatriusException
KeplerianParamComputer based on the provided sma, ecc and v arrays.Constants.EGM96_EARTH_MU will be used as the gravitational parameter and
Constants.EGM96_EARTH_EQUATORIAL_RADIUS as the body radius.sma - Array containing semi-major axis values (m)ecc - Array containing eccentriicty valuesv - Array containing true anomaly values (rad)PatriusException - if incompatible or unhandled types are providedpublic static List<KeplerianParamComputer> getKeplerianParams(double[] sma, double[] ecc, double[] v, double bodyRadius, double mu) throws PatriusException
KeplerianParamComputer based on the provided sma, ecc and v arrays.Constants.EGM96_EARTH_MU will be used as the gravitational parameter and
Constants.EGM96_EARTH_EQUATORIAL_RADIUS as the body radius.sma - Array containing semi-major axis values (m)ecc - Array containing eccentriicty valuesv - Array containing true anomaly values (rad)bodyRadius - Body radius (m)mu - Gravitational parameter of the central first body (m^3/s^2)PatriusException - if incompatible or unhandled types are providedCopyright © 2025 CNES. All rights reserved.