本文へ移動

Chikyu Earth地球

世界の国の輪郭を線で描いた地球儀です。地球と同じ速さで回ります。宇宙から見たような地球と、好きな場所の目印も使えます。

「地球」(ちきゅう) は、私たちが住む星の名前です。 名前について(英語)

目次

リファレンス · 太陽、月、惑星: 計算部分

BeamStats型

リファレンスの説明と例は英語です。見出しと目次は日本語です。

What the beam has done: whether it is drawn, the chosen satellite's height, the footprint's radius along the ground in kilometres and its angle at the Earth's centre, the elevation it was worked for, the cells drawn and a cell's radius in kilometres, and how many times its geometry was made.

インポート

import type { BeamStats } from "@johnmorrisdotca/chikyu-earth/space";

定義

interface BeamStats {
    shown: boolean;
    heightKm: number;
    radiusKm: number;
    angleDegrees: number;
    elevation: number;
    cells: number;
    cellRadiusKm: number;
    builds: number;
    failed: boolean;
}

メンバー

名前型説明
shownboolean
heightKmnumber
radiusKmnumber
angleDegreesnumber
elevationnumber
cellsnumber
cellRadiusKmnumber
buildsnumber
failedboolean

例

import type { BeamStats } from "@johnmorrisdotca/chikyu-earth/space";

const none: BeamStats = { shown: false, heightKm: 0, radiusKm: 0, angleDegrees: 0, elevation: 25, cells: 0, cellRadiusKm: 0, builds: 0, failed: false };
console.log(none);

ソースを見るGitHub で編集@johnmorrisdotca/chikyu-earth 0.51.1 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。