Class TLESource
java.lang.Object
gaiasky.scene.component.TLESource
- All Implemented Interfaces:
com.badlogic.ashley.core.Component
Holds attributes used to update an orbit/trajectory by fetching new data in TLE (Two-Line Element set) format from a URL.
-
Field Summary
FieldsModifier and TypeFieldDescriptionName of the satellite/spacecraft in the TLE data file.double
Update interval, in days.URL to fetch the TLE data. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setTleUpdateInterval
(Double interval) void
setUpdateInterval
(Double interval)
-
Field Details
-
urlTLE
URL to fetch the TLE data. -
nameTLE
Name of the satellite/spacecraft in the TLE data file. -
updateIntervalTLE
public double updateIntervalTLEUpdate interval, in days. Set negative to update every time, disregarding the last update time.
-
-
Constructor Details
-
TLESource
public TLESource()
-
-
Method Details
-
setUpdateInterval
-
setTleUpdateInterval
-