offsetOnSky関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The sky position east and north arc-minutes from a centre, on the tangent plane there (the gnomonic projection, the one that sky photographs and the standard picture header use). Exact on
the sphere; for a few degrees it differs from adding the offsets to right ascension and declination by the shrinking of the meridians.
インポート
import { offsetOnSky } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";
ほかのエクスポート元: @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic-shape
定義
function offsetOnSky(centre: SkyPoint, east: number, north: number): SkyPoint
引数
| 名前 | 型 | 説明 |
|---|---|---|
centre | SkyPoint | The point the plane touches the sky at. |
east | number | Arc-minutes toward increasing right ascension. |
north | number | Arc-minutes toward the north celestial pole. |
戻り値
SkyPoint
The sky point, right ascension 0 up to 360.
例
import { offsetOnSky } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";
console.log(offsetOnSky({ rightAscension: 10.68, declination: 41.27 }, 0, 60));{ rightAscension: 10.680000000000007, declination: 42.269898479414394 }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。