new module:Orbits(satrec, time, timeWindow, orbitPoints)
Constructs Orbits displaying the past and future position. The positions are calculated from the satrec. The
orbits are displayed from now back to past and
Parameters:
Name | Type | Default | Description |
---|---|---|---|
satrec |
Object | SDG format representing the satellite. | |
time |
Date | Date for which the orbits will be displayed. | |
timeWindow |
Number | Amount of milliseconds for the time window. | |
orbitPoints |
Number | 720 | Amount of the Panther. |
- Source:
Classes
Methods
render(dc)
Renders all trails belonging to this Orbit if it is enabled.
Parameters:
Name | Type | Description |
---|---|---|
dc |
DrawContext | Shared state for one rendering. |
- Source:
satrec(satelliteRecord)
Update information about when and where the satellite was. It fully rebuilds the positions for the trails.
Parameters:
Name | Type | Description |
---|---|---|
satelliteRecord |
SPG format representing the satellite. |
- Source:
time(time)
Update current time for this set of orbits.
Parameters:
Name | Type | Description |
---|---|---|
time |
Date | Current date for the satellite. |
- Source: