リファレンス
立体の星座 (視差から星を空間に置き、誤差の範囲と地球からの視線を示す)
import { … } from "@johnmorrisdotca/hoshi-stars/constellation-3d";
最小化と gzip 圧縮をしたサイズは 131.2 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
Constellation3D | 型 | A constellation's figure in space. |
constellationIn3D | 関数 | A constellation's figure in space: each star of the figure placed from its right ascension, declination and parallax, with the nearest and farthest places its parallax error allows, and the Earth's line of sight to it. |
DISTANCE_QUALITIES | 定数 | The qualities in order, best first. |
distanceQuality | 関数 | How well a star's distance is known (see DistanceQuality). |
DistanceQuality | 型 | How well a star's distance is known, from its parallax and the error the catalogue states: good (the error is under 5% of the parallax), fair (5% to 20%, or a dynamical parallax from a binary's orbit), rough (over 20%, or a parallax with no stated error) and none (no parallax: the distance is unknown). |
distanceQualityTable | 関数 | How many stars of each figure have each quality of distance: the table that says which constellations are worth looking at in space today. |
Point3 | 型 | A point in space in light-years on the J2000 equatorial axes: x toward right ascension 0, y toward 6 hours, z toward the north celestial pole. |
positionIn3D | 関数 | The place in space of a direction and a distance: right ascension and declination in degrees, distance in light-years, on the J2000 equatorial axes with the viewpoint at the origin. |
QUALITY_LIMITS | 定数 | The relative errors that divide the qualities: under good is good, up to rough is fair, over it is rough. |
StarIn3D | 型 | One star of a figure in space, as seen from the viewpoint (the Earth, or another star). |
Viewpoint3D | 型 | A viewpoint: a star (with a distance), a name starByName finds, or a point { x, y, z } in parsecs with the Sun at the origin. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。