Package org.orekit.data
Class CompositeDataContext
java.lang.Object
org.orekit.data.CompositeDataContext
- All Implemented Interfaces:
DataContext
A simple implementation of
DataContext that composes the constituent factories
into a data context.- Since:
- 10.1
- Author:
- Evan Ward
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeDataContext(TimeScales timeScales, Frames frames, CelestialBodies celestialBodies, GravityFields gravityFields, GeoMagneticFields geoMagneticFields) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet a factory constructingCelestialBodys based on the auxiliary data in this context.Get a factory constructingFrames based on the auxiliary data in this context.Get a factory constructingGeoMagneticFields based on the auxiliary data in this context.Get a factory constructing gravity fields based on the auxiliary data in this context.Get a factory for constructingTimeScales based on the auxiliary data in this context.
-
Constructor Details
-
CompositeDataContext
public CompositeDataContext(TimeScales timeScales, Frames frames, CelestialBodies celestialBodies, GravityFields gravityFields, GeoMagneticFields geoMagneticFields) Simple constructor.- Parameters:
timeScales- used in this data context.frames- used in this data context.celestialBodies- used in this data context.gravityFields- used in this data context.geoMagneticFields- used in this data context.
-
-
Method Details
-
getTimeScales
Description copied from interface:DataContextGet a factory for constructingTimeScales based on the auxiliary data in this context.- Specified by:
getTimeScalesin interfaceDataContext- Returns:
- the set of common time scales using this data context.
-
getFrames
Description copied from interface:DataContextGet a factory constructingFrames based on the auxiliary data in this context.- Specified by:
getFramesin interfaceDataContext- Returns:
- the set of common reference frames using this data context.
-
getCelestialBodies
Description copied from interface:DataContextGet a factory constructingCelestialBodys based on the auxiliary data in this context.- Specified by:
getCelestialBodiesin interfaceDataContext- Returns:
- the set of common celestial bodies using this data context.
-
getGravityFields
Description copied from interface:DataContextGet a factory constructing gravity fields based on the auxiliary data in this context.- Specified by:
getGravityFieldsin interfaceDataContext- Returns:
- the gravity fields using this data context.
-
getGeoMagneticFields
Description copied from interface:DataContextGet a factory constructingGeoMagneticFields based on the auxiliary data in this context.- Specified by:
getGeoMagneticFieldsin interfaceDataContext- Returns:
- the geomagnetic fields using this data context.
-