本文へ移動

Hoshi Stars星

肉眼で見える星の名前・色・距離、88星座の線と境界、メシエ天体、そしてそれらを描くための7種類の図法を使えます。

「星」(ほし) は、夜空に光って見えるものです。 名前について(英語)

目次

リファレンス · メシエ天体の空での大きさと向き、その輪郭

measuredParts関数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

Which parts of an object's drawn shape are measured: the size, the axis ratio and the angle. An object whose axis ratio or angle is not measured is drawn round, so oval says whether the drawing is the measured ellipse.

インポート

import { measuredParts } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";

ほかのエクスポート元: @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic-shape

定義

function measuredParts(shape: DeepSkyShape): { size: boolean; ratio: boolean; angle: boolean; oval: boolean; }

引数

名前型説明
shapeDeepSkyShape

The shape from deepSkyShape.

戻り値

{ size: boolean; ratio: boolean; angle: boolean; oval: boolean; }

size, ratio and angle as true where measured, and oval as true where both of the last two are.

例

import { deepSkyObject } from "@johnmorrisdotca/hoshi-stars/deep-sky";
import { deepSkyShape, measuredParts } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";

console.log(measuredParts(deepSkyShape(deepSkyObject("M42")!)));
{ size: true, ratio: false, angle: false, oval: false }

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/hoshi-stars 0.47.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。