Package gaiasky.data.orbit
Class OrbitFileDataEclipticJulianTimeProvider
java.lang.Object
gaiasky.data.orbit.OrbitFileDataEclipticJulianTimeProvider
- All Implemented Interfaces:
IOrbitDataProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
void
initialize
(com.badlogic.ashley.core.Entity entity, Trajectory trajectory) Initializes the provider with the given entity and trajectory component.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.
-
Constructor Details
-
OrbitFileDataEclipticJulianTimeProvider
public OrbitFileDataEclipticJulianTimeProvider()
-
-
Method Details
-
initialize
Description copied from interface:IOrbitDataProvider
Initializes the provider with the given entity and trajectory component.- Specified by:
initialize
in interfaceIOrbitDataProvider
- Parameters:
entity
- The entity.trajectory
- The trajectory component.
-
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
-