リファレンス · 地球周回軌道のカタログ: 軌道の分類、物体の種類、色、衛星群、パック形式のファイル(データは含みません)
OrbitShape型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The size and shape of an orbit.
インポート
import type { OrbitShape } from "@johnmorrisdotca/chikyu-earth/catalogue";
定義
interface OrbitShape {
semiMajorKm: number;
periodMinutes: number;
perigeeKm: number;
apogeeKm: number;
eccentricity: number;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
semiMajorKm | number | Half the longest width of the ellipse, kilometres from the Earth's centre. |
periodMinutes | number | One revolution, minutes. |
perigeeKm | number | Height of the lowest point above the mean Earth radius (6371 km), kilometres. |
apogeeKm | number | Height of the highest point, kilometres. |
eccentricity | number |
例
import type { OrbitShape } from "@johnmorrisdotca/chikyu-earth/catalogue";
const show = (shape: OrbitShape): string => `${shape.perigeeKm.toFixed(0)} to ${shape.apogeeKm.toFixed(0)} km`;
console.log(typeof show);function出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。