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
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
void
load
(String file, OrbitDataLoader.OrbitDataLoaderParameters parameter) Loads the orbit data into the OrbitData object in the internal units.void
load
(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:IOrbitDataProvider
Loads the orbit data into the OrbitData object in the internal units.- Specified by:
load
in interfaceIOrbitDataProvider
- Parameters:
file
- The file pathparameter
- The parameters
-
load
public void load(String file, OrbitDataLoader.OrbitDataLoaderParameters parameter, boolean newMethod) Description copied from interface:IOrbitDataProvider
Loads the orbit data into the OrbitData object in the internal units.- Specified by:
load
in interfaceIOrbitDataProvider
- Parameters:
file
- The file pathparameter
- The parametersnewMethod
- Use new method (for orbital elements only)
-
getData
- Specified by:
getData
in interfaceIOrbitDataProvider
-