new Orbit(tleObj)
Takes orbit.TLE object and initialized the SGP4 model
Parameters:
Name | Type | Description |
---|---|---|
tleObj |
orbit.TLE | An instance of orbits.TLE |
Members
-
<readonly> altitude :float
-
Altitude in kms
Type:
- float
-
<readonly> latitude :float
-
latitude in degrees
Type:
- float
-
<readonly> longitude :float
-
longtitude in degrees
Type:
- float
-
<readonly> period :float
-
orbit period in seconds
Type:
- float
-
<readonly> velocity :float
-
velocity in km per second
Type:
- float
Methods
-
getAltitude() → {float}
-
get altitude in km
Returns:
- Type
- float
-
getLatLng() → {google.maps.LatLng}
-
get position in LatLng
Returns:
- Type
- google.maps.LatLng
-
getPeriod() → {float}
-
get period in seconds
Returns:
- Type
- float
-
getPosition() → {float[]}
-
get position
Returns:
[latitude, longitude]- Type
- float[]
-
getVelocity() → {float}
-
get velocity in km per seconds
Returns:
- Type
- float
-
propagate()
-
calculates position and velocity vectors based date set on the Orbit object
-
setDate(date)
-
Change the datetime, or null for to use current
Parameters:
Name Type Description date
Date