Reference
What is near a star, an object or a point, in the sky and in space; neighbouring constellations
import { … } from "@johnmorrisdotca/hoshi-stars/nearest";
Exports
| Name | Kind | What it is |
|---|---|---|
nearest | function | The things nearest a star, a deep-sky object or a point, nearest first. |
NearestInSky | type | One answer of a query by angle: the thing and its angle from the target, in degrees. |
NearestInSpace | type | One answer of a query by distance in space. |
NearestList | type | A list of answers, nearest first, with skipped: how many candidates had no usable distance and so were left out of a query by: "space" (a parallax of 0 or less, or a deep-sky object). |
NearestOptions | type | The options of nearest and within. |
NearestTarget | type | Where a query starts: a star, a deep-sky object, a name starByName or deepSkyObject (the Messier objects) finds, or a point in J2000 degrees. |
NearestThing | type | Something a query can find: a bright star, a nearby star (from /nearby, passed in among) or a deep-sky object. |
neighbouringConstellations | function | The constellations that share a piece of boundary with one constellation, in alphabetical order of their Latin names. |
within | function | Everything within a radius of a target, nearest first: nearest with no count limit and within set to the radius. |