Package gaiasky.data.api
Interface IOrbitDataProvider
- All Known Implementing Classes:
OrbitalParametersProvider
,OrbitBodyDataProvider
,OrbitFileDataEclipticJulianTimeProvider
,OrbitFileDataProvider
,OrbitSamplerDataProvider
public interface IOrbitDataProvider
-
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 source) Loads the orbit data into the OrbitData object in the internal units.void
load
(String file, OrbitDataLoader.OrbitDataLoaderParameters source, boolean newMethod) Loads the orbit data into the OrbitData object in the internal units.
-
Method Details
-
initialize
Initializes the provider with the given entity and trajectory component.- Parameters:
entity
- The entity.trajectory
- The trajectory component.
-
load
Loads the orbit data into the OrbitData object in the internal units.- Parameters:
file
- The file pathsource
- The parameters
-
load
Loads the orbit data into the OrbitData object in the internal units.- Parameters:
file
- The file pathsource
- The parametersnewMethod
- Use new method (for orbital elements only)
-
getData
PointCloudData getData()
-