public class EntityHistory extends Object
HistoryGenerator. Since the entity history
is automatically updated in background threads, it's important
to always lock the SyncRoot (get) property before accessing any data.HistoryGenerator,
HistoryVisualizer,
WaypointVisualizer| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Gets the number of position/time pairs.
|
Iterable<Cartesian> |
getPositions()
Gets the list of positions currently recorded in the
HistoryGenerator. |
Object |
getSyncRoot()
Gets an object that can be used to synchronize access to the
EntityHistory |
Iterable<JulianDate> |
getTimes()
Gets the list of times currently recorded in the
HistoryGenerator. |
@Nonnull public final Object getSyncRoot()
EntityHistorypublic final int getCount()
@Nonnull public final Iterable<Cartesian> getPositions()
HistoryGenerator.
Positions correlated with the same index in Times (get)@Nonnull public final Iterable<JulianDate> getTimes()
HistoryGenerator.
Times are guaranteed to be in ascending order.