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.void
initialize
(com.badlogic.ashley.core.Entity entity, Trajectory trajectory) Deprecated.Initializes the provider with the given entity and trajectory component.void
load
(String file, OrbitDataLoader.OrbitDataLoaderParameters parameter) Deprecated.Loads the orbit data into the OrbitData object in the internal units.void
load
(String file, OrbitDataLoader.OrbitDataLoaderParameters parameter, boolean newMethod) Deprecated.Loads the orbit data into the OrbitData object in the internal units.static void
Deprecated.
-
Constructor Details
-
OrbitSamplerDataProvider
public OrbitSamplerDataProvider()Deprecated.
-
-
Method Details
-
main
Deprecated. -
initialize
Deprecated.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
Deprecated.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) Deprecated.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
-
OrbitBodyDataProvider
instead, which uses the actual coordinates provider of the attached body.