リファレンス · データの入口(自分で用意した星やディープスカイ天体を、ライセンスと出典つきのソースとして渡し、いま画面にあるのは誰のデータかを示します)
MapPlace型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A piece of a map, in degrees: longitude and latitude (right ascension and declination for the sky). One shape in every package. *
インポート
import type { MapPlace } from "@johnmorrisdotca/hoshi-stars/door";
定義
interface MapPlace {
lonMin: number;
lonMax: number;
latMin: number;
latMax: number;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
lonMin | number | |
lonMax | number | |
latMin | number | |
latMax | number |
例
import type { MapPlace } from "./data-door.ts";
const wholeSky: MapPlace = { lonMin: 0, lonMax: 360, latMin: -90, latMax: 90 };この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。