public final class OrbitNatureConverter extends Object implements Serializable
StelaEquinoctialOrbit from mean to osculating parameters, and reverse.
Since the StelaEquinoctialOrbit does not contain a "mean" or "osculating" information flag,
it is the user's responsibility to ensure a coherent use of this converter.| Constructor and Description |
|---|
OrbitNatureConverter(List<StelaForceModel> inForceModels)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<StelaForceModel> |
getForceModels()
Returns the force model taken into account in the converter.
|
static void |
setThreshold(double newThreshold)
Setter for osculating to mean conversion relative convergence threshold.
|
static void |
setThresholdDegraded(double newThreshold)
Setter for osculating to mean conversion second relative convergence threshold.
|
StelaEquinoctialOrbit |
toMean(StelaEquinoctialOrbit oscOrbit)
Converts an osculating
StelaEquinoctialOrbit to a mean one. |
StelaEquinoctialOrbit |
toOsculating(StelaEquinoctialOrbit meanOrbit)
Converts a mean
StelaEquinoctialOrbit to an osculating one. |
public OrbitNatureConverter(List<StelaForceModel> inForceModels)
inForceModels - list of force models used for conversionpublic StelaEquinoctialOrbit toMean(StelaEquinoctialOrbit oscOrbit) throws PatriusException
StelaEquinoctialOrbit to a mean one.oscOrbit - input osculating orbitPatriusException - if a position computation failspublic StelaEquinoctialOrbit toOsculating(StelaEquinoctialOrbit meanOrbit) throws PatriusException
StelaEquinoctialOrbit to an osculating one.meanOrbit - input mean orbitPatriusException - if a position computation failspublic static void setThreshold(double newThreshold)
DEFAULT_THRESHOLD.newThreshold - new threshold to setpublic static void setThresholdDegraded(double newThreshold)
DEFAULT_THRESHOLD.newThreshold - new threshold to setpublic List<StelaForceModel> getForceModels()
Copyright © 2024 CNES. All rights reserved.