DeepSkyShape型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
How big a deep-sky object is on the sky and which way it lies. Each part is a measurement or it is undefined: nothing is guessed. Where the minor axis or the angle is missing, the object is
known to be at least that large and no more.
インポート
import type { DeepSkyShape } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";
ほかのエクスポート元: @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic-shape
定義
interface DeepSkyShape {
majorArcmin: number | undefined;
minorArcmin: number | undefined;
positionAngle: number | undefined;
source: DeepSkyShapeSource | undefined;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
majorArcmin | number | undefined | The longest way across, in arc-minutes, or |
minorArcmin | number | undefined | The shortest way across, in arc-minutes, or |
positionAngle | number | undefined | The angle of the major axis in degrees, 0 up to 180, measured from north through east (90 is east-west), or |
source | DeepSkyShapeSource | undefined | The catalogue of the major axis, or |
例
import { deepSkyShape } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";
import { deepSkyObject } from "@johnmorrisdotca/hoshi-stars/deep-sky";
const shape = deepSkyShape(deepSkyObject("M31")!);
console.log(shape.majorArcmin, shape.minorArcmin, shape.positionAngle, shape.source);190.5 61.7 35 RC3出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。