Class: Orbit

orbits. Orbit

new Orbit(tleObj)

Takes orbit.TLE object and initialized the SGP4 model
Parameters:
Name Type Description
tleObj orbit.TLE An instance of orbits.TLE
Source:

Members

<readonly> altitude :float

Altitude in kms
Type:
  • float
Source:

<readonly> latitude :float

latitude in degrees
Type:
  • float
Source:

<readonly> longitude :float

longtitude in degrees
Type:
  • float
Source:

<readonly> period :float

orbit period in seconds
Type:
  • float
Source:

<readonly> velocity :float

velocity in km per second
Type:
  • float
Source:

Methods

getAltitude() → {float}

get altitude in km
Source:
Returns:
Type
float

getLatLng() → {google.maps.LatLng}

get position in LatLng
Source:
Returns:
Type
google.maps.LatLng

getPeriod() → {float}

get period in seconds
Source:
Returns:
Type
float

getPosition() → {float[]}

get position
Source:
Returns:
[latitude, longitude]
Type
float[]

getVelocity() → {float}

get velocity in km per seconds
Source:
Returns:
Type
float

propagate()

calculates position and velocity vectors based date set on the Orbit object
Source:

setDate(date)

Change the datetime, or null for to use current
Parameters:
Name Type Description
date Date
Source: