Package org.orekit.data
Interface DataContext
-
- All Known Implementing Classes:
CompositeDataContext
,ExceptionalDataContext
,LazyLoadedDataContext
public interface DataContext
Provides auxiliary data for portions of the application.- Since:
- 10.1
- Author:
- Evan Ward
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description CelestialBodies
getCelestialBodies()
Get a factory constructingCelestialBody
s based on the auxiliary data in this context.static LazyLoadedDataContext
getDefault()
Get the default data context that is used to implement the static factories (TimeScalesFactory
,FramesFactory
, etc) and loaders that feed themselves (e.g.Frames
getFrames()
Get a factory constructingFrame
s based on the auxiliary data in this context.GeoMagneticFields
getGeoMagneticFields()
Get a factory constructingGeoMagneticField
s based on the auxiliary data in this context.GravityFields
getGravityFields()
Get a factory constructing gravity fields based on the auxiliary data in this context.TimeScales
getTimeScales()
Get a factory for constructingTimeScale
s based on the auxiliary data in this context.static void
setDefault(LazyLoadedDataContext context)
Set the default data context that is used to implement Orekit's static factories.
-
-
-
Method Detail
-
getDefault
@DefaultDataContext static LazyLoadedDataContext getDefault()
Get the default data context that is used to implement the static factories (TimeScalesFactory
,FramesFactory
, etc) and loaders that feed themselves (e.g.KlobucharIonoCoefficientsLoader
). It is used to maintain compatibility with auxiliary data loading in Orekit 10.0.- Returns:
- Orekit's default data context.
-
setDefault
static void setDefault(LazyLoadedDataContext context)
Set the default data context that is used to implement Orekit's static factories.Calling this method will not modify any instances already retrieved from Orekit's static factories. In general this method should only be called at application start up before any of the static factories are used.
- Parameters:
context
- the new data context.- See Also:
getDefault()
-
getTimeScales
TimeScales getTimeScales()
Get a factory for constructingTimeScale
s based on the auxiliary data in this context.- Returns:
- the set of common time scales using this data context.
-
getFrames
Frames getFrames()
Get a factory constructingFrame
s based on the auxiliary data in this context.- Returns:
- the set of common reference frames using this data context.
-
getCelestialBodies
CelestialBodies getCelestialBodies()
Get a factory constructingCelestialBody
s based on the auxiliary data in this context.- Returns:
- the set of common celestial bodies using this data context.
-
getGravityFields
GravityFields getGravityFields()
Get a factory constructing gravity fields based on the auxiliary data in this context.- Returns:
- the gravity fields using this data context.
-
getGeoMagneticFields
GeoMagneticFields getGeoMagneticFields()
Get a factory constructingGeoMagneticField
s based on the auxiliary data in this context.- Returns:
- the geomagnetic fields using this data context.
-
-