本文へ移動

Chikyu Earth地球

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

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

目次

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

beamCells関数

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

The spot cells of a footprint: count circles in a hexagonal pack (the middle one, then the nearest to it), drawn to fit inside the footprint, or at most cellKm in radius when that is smaller. It is an illustration of a satellite that serves the ground in cells; it is not the pattern of any operator's beam plan.

インポート

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

定義

function beamCells(count: number, radiusKm: number, cellKm?: number): BeamCells

引数

名前型説明
countnumber

How many cells (0 for none; the most is 91, six rings).

radiusKmnumber

The footprint's radius along the ground, in kilometres.

cellKm (省略可)number

A cell's radius in kilometres, when the page wants it smaller than the fit; 0 for the fit.

戻り値

BeamCells

The cells.

例

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

console.log(beamCells(19, 2200, 0).lattice.length);
19

出力(このページを作ったときに実行した結果)

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

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