リファレンス
場所から見た太陽と月: 位置、日の出と日の入り、月の出入りと月相。suncalc 2 と同じ名前で、より正確です
import { … } from "@johnmorrisdotca/wakusei-planets/suncalc";
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
addTime | 関数 | Add a time to the ones getTimes gives: when the Sun reaches an altitude in degrees, going up under the morning name and going down under the evening name. |
getMoonIllumination | 関数 | The Moon's phase. |
getMoonPosition | 関数 | The Moon's place in the sky from a place on the Earth. |
getMoonTimes | 関数 | The Moon's rise, set and transits over a day at a place. |
getPosition | 関数 | The Sun's place in the sky from a place on the Earth. |
getTimes | 関数 | The Sun's times for a day at a place. |
MoonIllumination | 型 | The Moon's illumination: the lit fraction 0 to 1, the phase 0 to 1 (0 new, 0.25 first quarter, 0.5 full, 0.75 last quarter), the position angle of the bright limb in degrees eastward from north, and whether it is waxing. |
MoonPosition | 型 | The Moon in a place's sky: the Position, the Moon's distance in kilometres and the parallactic angle in degrees. |
MoonTimes | 型 | The Moon's rise, set and transits over a day. |
Position | 型 | Where a body is in a place's sky: the azimuth in degrees clockwise from north (0 north, 90 east, 180 south, 270 west) and the apparent altitude (refraction included) in degrees. |
SunTimeName | 型 | The names of the Sun's times that getTimes gives. |
SunTimes | 型 | The Sun's times for a day: each a Date or null when the Sun does not reach that height that day, solarNoon and nadir always there, and alwaysUp or alwaysDown when the Sun stays above or below the sunrise height all day. |
times | 定数 | The altitudes of the Sun's times in degrees: the morning name when it rises through the angle, the evening name when it sets through it. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。