Package gaiasky.data.orbit
Class OrbitalParametersProvider
- java.lang.Object
-
- gaiasky.data.orbit.OrbitalParametersProvider
-
- All Implemented Interfaces:
IOrbitDataProvider
public class OrbitalParametersProvider extends java.lang.Object implements IOrbitDataProvider
Reads an orbit file into an OrbitData object.
-
-
Constructor Summary
Constructors Constructor Description OrbitalParametersProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointCloudData
getData()
void
load(java.lang.String file, OrbitDataLoader.OrbitDataLoaderParameter parameter)
Loads the orbit data into the OrbitData object in the internal units.void
load(java.lang.String file, OrbitDataLoader.OrbitDataLoaderParameter parameter, boolean newmethod)
Loads the orbit data into the OrbitData object in the internal units.void
loadOld(java.lang.String file, OrbitDataLoader.OrbitDataLoaderParameter parameter)
-
-
-
Method Detail
-
load
public void load(java.lang.String file, OrbitDataLoader.OrbitDataLoaderParameter parameter)
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(java.lang.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
public void loadOld(java.lang.String file, OrbitDataLoader.OrbitDataLoaderParameter parameter)
-
getData
public PointCloudData getData()
- Specified by:
getData
in interfaceIOrbitDataProvider
-
-