Package gaiasky.data.orbit
Class OrbitFileDataProvider
- java.lang.Object
-
- gaiasky.data.orbit.OrbitFileDataProvider
-
- All Implemented Interfaces:
IOrbitDataProvider
public class OrbitFileDataProvider extends java.lang.Object implements IOrbitDataProvider
Reads an orbit file into an OrbitData object.
-
-
Constructor Summary
Constructors Constructor Description OrbitFileDataProvider()
-
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.
-
-
-
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)
-
getData
public PointCloudData getData()
- Specified by:
getData
in interfaceIOrbitDataProvider
-
-