public final class OrbitNatureConverter extends Object
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 |
---|---|
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 failsCopyright © 2017 CNES. All rights reserved.