Package gaiasky.data.orbit
Class OrbitSamplerDataProvider
java.lang.Object
gaiasky.data.orbit.OrbitSamplerDataProvider
- All Implemented Interfaces:
IOrbitDataProvider
Samples an orbit for a particular Body. This guy is typically
used to load orbit data by the
OrbitRefresher daemon.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()voidload(String file, OrbitDataLoader.OrbitDataLoaderParameters parameter) Loads the orbit data into the OrbitData object in the internal units.voidload(String file, OrbitDataLoader.OrbitDataLoaderParameters parameter, boolean newMethod) Loads the orbit data into the OrbitData object in the internal units.static void
-
Constructor Details
-
OrbitSamplerDataProvider
public OrbitSamplerDataProvider()
-
-
Method Details
-
main
-
load
Description copied from interface:IOrbitDataProviderLoads the orbit data into the OrbitData object in the internal units.- Specified by:
loadin interfaceIOrbitDataProvider- Parameters:
file- The file pathparameter- The parameters
-
load
public void load(String file, OrbitDataLoader.OrbitDataLoaderParameters parameter, boolean newMethod) Description copied from interface:IOrbitDataProviderLoads the orbit data into the OrbitData object in the internal units.- Specified by:
loadin interfaceIOrbitDataProvider- Parameters:
file- The file pathparameter- The parametersnewMethod- Use new method (for orbital elements only)
-
getData
- Specified by:
getDatain interfaceIOrbitDataProvider
-