Package org.orekit.data
Class CompositeDataContext
- java.lang.Object
-
- org.orekit.data.CompositeDataContext
-
- All Implemented Interfaces:
DataContext
public class CompositeDataContext extends Object implements DataContext
A simple implementation ofDataContext
that composes the constituent factories into a data context.- Since:
- 10.1
- Author:
- Evan Ward
-
-
Constructor Summary
Constructors Constructor Description CompositeDataContext(TimeScales timeScales, Frames frames, CelestialBodies celestialBodies, GravityFields gravityFields, GeoMagneticFields geoMagneticFields)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CelestialBodies
getCelestialBodies()
Get a factory constructingCelestialBody
s based on the auxiliary data in this context.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.
-
-
-
Constructor Detail
-
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 Detail
-
getTimeScales
public TimeScales getTimeScales()
Description copied from interface:DataContext
Get a factory for constructingTimeScale
s based on the auxiliary data in this context.- Specified by:
getTimeScales
in interfaceDataContext
- Returns:
- the set of common time scales using this data context.
-
getFrames
public Frames getFrames()
Description copied from interface:DataContext
Get a factory constructingFrame
s based on the auxiliary data in this context.- Specified by:
getFrames
in interfaceDataContext
- Returns:
- the set of common reference frames using this data context.
-
getCelestialBodies
public CelestialBodies getCelestialBodies()
Description copied from interface:DataContext
Get a factory constructingCelestialBody
s based on the auxiliary data in this context.- Specified by:
getCelestialBodies
in interfaceDataContext
- Returns:
- the set of common celestial bodies using this data context.
-
getGravityFields
public GravityFields getGravityFields()
Description copied from interface:DataContext
Get a factory constructing gravity fields based on the auxiliary data in this context.- Specified by:
getGravityFields
in interfaceDataContext
- Returns:
- the gravity fields using this data context.
-
getGeoMagneticFields
public GeoMagneticFields getGeoMagneticFields()
Description copied from interface:DataContext
Get a factory constructingGeoMagneticField
s based on the auxiliary data in this context.- Specified by:
getGeoMagneticFields
in interfaceDataContext
- Returns:
- the geomagnetic fields using this data context.
-
-