リファレンス · 地球周回軌道のカタログ: 軌道の分類、物体の種類、色、衛星群、パック形式のファイル(データは含みません)
classOfElements関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The class of an orbit straight from the two numbers every element set has, its mean motion (revolutions a day) and its eccentricity; null when they are not an orbit.
インポート
import { classOfElements } from "@johnmorrisdotca/chikyu-earth/catalogue";
定義
function classOfElements(meanMotion: number, eccentricity: number): OrbitClass | null
引数
| 名前 | 型 | 説明 |
|---|---|---|
meanMotion | number | Revolutions a day, above 0. |
eccentricity | number | 0 up to (not including) 1. |
戻り値
OrbitClass | null
The class, or null.
例
import { classOfElements } from "@johnmorrisdotca/chikyu-earth/catalogue";
console.log(classOfElements(15.49, 0.0007), classOfElements(1.0027, 0.0002), classOfElements(0, 0));leo geo null出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。