Home Reference Source
import {NaturalSatellites} from 'spacekit/src/EphemPresets.js'
public class | source

NaturalSatellites

A class for fetching orbital elements of natural satellites in our solar system.

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

Get a list of satellites and their orbital elements for a given planet.

public

init()

public

load(): *

Public Constructors

public constructor() source

Public Methods

public getSatellitesForPlanet(planetName: String): Object source

Get a list of satellites and their orbital elements for a given planet.

Params:

NameTypeAttributeDescription
planetName String

Name of a planet, e.g. "Jupiter"

Return:

Object

List containing a list of dictionaries with information on each satellite.

public init() source

public load(): * source

Return:

*