MilkyWayStrip型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A ribbon of the Milky Way at one brightness level: two chains of sky points of the same length, the upper edge and the lower, each pair at the same galactic longitude. Draw the ribbon as
the polygon upper forward then lower backward. A strip stops where the band splits or ends (a dust lane, the end of a bright patch), so one level is several strips.
インポート
import type { MilkyWayStrip } from "@johnmorrisdotca/hoshi-stars/milky-way";
定義
interface MilkyWayStrip {
upper: SkyPoint[];
lower: SkyPoint[];
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
upper | SkyPoint[] | The edge toward the galactic north, from low longitude to high. |
lower | SkyPoint[] | The edge toward the galactic south, at the same longitudes as |
例
import { milkyWayBands, type MilkyWayStrip } from "@johnmorrisdotca/hoshi-stars/milky-way";
const strip: MilkyWayStrip = milkyWayBands()[0]!.strips[0]!;
console.log(strip.upper.length === strip.lower.length);true出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。