Package gaiasky.data.orbit
Class OrbitSamplerDataProvider
java.lang.Object
gaiasky.data.orbit.OrbitSamplerDataProvider
- All Implemented Interfaces:
IOrbitDataProvider
Deprecated.
Samples orbits using the classical algorithms (VSOP87, Moon AA, Pluto) and converts them to point cloud
data objects. Used to update the orbit objects of planets when they get outdated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()Deprecated.voidinitialize(com.badlogic.ashley.core.Entity entity, Trajectory trajectory) Deprecated.Initializes the provider with the given entity and trajectory component.voidload(String file, OrbitDataLoader.OrbitDataLoaderParameters parameter) Deprecated.Loads the orbit data into the OrbitData object in the internal units.voidload(String file, OrbitDataLoader.OrbitDataLoaderParameters parameter, boolean newMethod) Deprecated.Loads the orbit data into the OrbitData object in the internal units.static voidDeprecated.
-
Constructor Details
-
OrbitSamplerDataProvider
public OrbitSamplerDataProvider()Deprecated.
-
-
Method Details
-
main
Deprecated. -
initialize
Deprecated.Description copied from interface:IOrbitDataProviderInitializes the provider with the given entity and trajectory component.- Specified by:
initializein interfaceIOrbitDataProvider- Parameters:
entity- The entity.trajectory- The trajectory component.
-
load
Deprecated.Description copied from interface:IOrbitDataProviderLoads the orbit data into the OrbitData object in the internal units.- Specified by:
loadin interfaceIOrbitDataProvider- Parameters:
file- The file pathparameter- The parameters
-
load
public void load(String file, OrbitDataLoader.OrbitDataLoaderParameters parameter, boolean newMethod) Deprecated.Description copied from interface:IOrbitDataProviderLoads the orbit data into the OrbitData object in the internal units.- Specified by:
loadin interfaceIOrbitDataProvider- Parameters:
file- The file pathparameter- The parametersnewMethod- Use new method (for orbital elements only)
-
getData
Deprecated.- Specified by:
getDatain interfaceIOrbitDataProvider
-
OrbitBodyDataProviderinstead, which uses the actual coordinates provider of the attached body.