Package gaiasky.data.orbit
Class OrbitalParametersProvider
java.lang.Object
gaiasky.data.orbit.OrbitalParametersProvider
- All Implemented Interfaces:
IOrbitDataProvider
Reads an orbit file into an OrbitData object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
void
load(String file, OrbitDataLoader.OrbitDataLoaderParameter parameter)
Loads the orbit data into the OrbitData object in the internal units.void
load(String file, OrbitDataLoader.OrbitDataLoaderParameter parameter, boolean newMethod)
Loads the orbit data into the OrbitData object in the internal units.void
loadOld(String file, OrbitDataLoader.OrbitDataLoaderParameter parameter)
-
Constructor Details
-
OrbitalParametersProvider
public OrbitalParametersProvider()
-
-
Method Details
-
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.OrbitDataLoaderParameter 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)
-
loadOld
-
getData
- Specified by:
getData
in interfaceIOrbitDataProvider
-