リファレンス
同じものを suncalc 1 の約束 (ラジアン、南からの方位) で
import { … } from "@johnmorrisdotca/wakusei-planets/suncalc/legacy";
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
addTime | 関数 | Add a time to the ones getTimes gives: when the Sun reaches an altitude in degrees. |
getMoonIllumination | 関数 | The Moon's phase, as suncalc 1 gave it. |
getMoonPosition | 関数 | The Moon's place in the sky, as suncalc 1 gave it: the altitude includes refraction. |
getMoonTimes | 関数 | The Moon's rise and set over the 24 hours from midnight of the moment's day, in the machine's zone or, with inUTC, in UTC. |
getPosition | 関数 | The Sun's place in the sky, as suncalc 1 gave it: the altitude has no refraction in it. |
getTimes | 関数 | The Sun's times for the solar day nearest a moment, as suncalc 1 gave them: every time a Date, invalid when it does not happen. |
LegacyMoonIllumination | 型 | The Moon's illumination in suncalc 1's terms: the lit fraction, the phase 0 to 1, and the bright limb's angle in radians, negative while the Moon waxes and positive while it wanes. |
LegacyMoonPosition | 型 | The Moon in a place's sky: the LegacyPosition, the distance in kilometres and the parallactic angle in radians. |
LegacyMoonTimes | 型 | The Moon's rise and set; alwaysUp or alwaysDown is true when the Moon never rises or sets in the day. |
LegacyPosition | 型 | Where a body is: the azimuth in radians from south toward west (0 south, a quarter turn west) and the altitude in radians. |
LegacySunTimes | 型 | The Sun's times with every one a Date: an invalid Date (NaN) when the Sun does not reach that height that day. |
times | 定数 | The times suncalc 1 gives, as [altitude in degrees, morning name, evening name]. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。