Skip to content

Documentation / @interstellar-tools/types / CelestialDirectionInterface

Interface: CelestialDirectionInterface ​

Defined in: orbits.ts:110

A direction on the sky, in the ICRF (the J2000 equator and equinox), in degrees as catalogues give it: the pole of a reference plane, for example.

Example ​

ts
// Saturn's north pole (Archinal et al. 2018)
const pole: CelestialDirectionInterface = {
  rightAscension: 40.589 as DegreesType,
  declination: 83.537 as DegreesType
};

Properties ​

declination ​

ts
declination: DegreesType;

Defined in: orbits.ts:114

Declination, north of the equator, in degrees.


rightAscension ​

ts
rightAscension: DegreesType;

Defined in: orbits.ts:112

Right ascension, eastwards from the equinox along the equator, in degrees.