API Reference / declinationAspects · function

Function: declinationAspects()

function declinationAspects(
   engine, 
   bodies, 
   jd, 
   orb?): DeclinationPair[];

Parallels and contraparallels among a set of bodies at an instant: pairs whose declinations are equal (parallel) or equal and opposite (contraparallel) within orb — the declination analogue of conjunction and opposition.

Parameters

ParameterTypeDefault valueDescription
engineEngineundefinedThe engine used to evaluate positions.
bodiesBodyId[]undefinedThe bodies to compare.
jdnumberundefinedJulian Day (UT).
orbnumber1.0Declination orb in degrees. Defaults to 1.0.

Returns

DeclinationPair[]

DeclinationPairs { a, b, kind }, where kind is "parallel" or "contraparallel".

Start building

Quickstart →