リファレンス
ある日付に、ある天体にいちばん近い天体を、空の見かけの角度か宇宙での距離でさがします。2つの天体がいちばん近づく時刻も: nearest、within、closestApproach、conjunctions
import { … } from "@johnmorrisdotca/wakusei-planets/nearest";
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
Approach | 型 | The closest two bodies come in a span: the moment of the minimum and the separation then. |
ApproachOptions | 型 | Where a search looks, and what counts as close. |
closestApproach | 関数 | When two bodies come closest in a span, and how close: the span is scanned in coarse steps (the fastest body goes round forty times in the step, at most two days), then the smallest minimum is narrowed to about a second of time by golden-section search. |
ConjunctionOptions | 型 | The options of conjunctions. |
conjunctions | 関数 | The close approaches of every pair of bodies in a span, soonest first: each pair's separation is scanned in coarse steps (the fastest body goes round forty times in the step, at most two days), and every minimum inside the span that is within within is narrowed to about a second of time. |
distance | 関数 | The distance between two bodies on a date: the straight line between their centres at that instant, in kilometres and astronomical units, with no light time. |
Distance | 型 | The distance between two bodies at one instant: their centres, in the Sun's frame, with no light time. |
DistanceAt | 型 | The least or the greatest distance of a pair over a span, and when. |
distanceRange | 関数 | The least and the greatest distance between two bodies over a span, each with its moment: the span is scanned in coarse steps (as closestApproach does) and each turning point is narrowed to about a second of time by golden-section search, the greatest on the negated distance. |
DistanceRange | 型 | Where a pair is nearest and farthest over a span. |
nearest | 関数 | The bodies nearest to a body on a date, nearest first: by the angle between them in the sky of an observer, or by the distance between them in space. |
NearestKind | 型 | What kind of body: the Sun is "star". |
NearestOptions | 型 | The options of nearest, within, closestApproach and conjunctions that mean the same in each. |
SkyNeighbour | 型 | A body near the target in the sky: its angle from the target in degrees (0 to 180) and how far that angle may be off, in arc-seconds. |
SpaceNeighbour | 型 | A body near the target in space: the distance between their centres, and how far that may be off. |
Viewpoint | 型 | Where the sky is seen from: a body's centre ("mars" for the sky of Mars), or a place on the Earth, whose parallax counts (the Moon is up to a degree different from there than from the Earth's centre). |
within | 関数 | Every body inside a radius of a body on a date, nearest first: nearest with no limit on how many. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。