API Reference / primaryDirections · function

Function: primaryDirections()

function primaryDirections(
   engine, 
   natalJd, 
   lat, 
   lonEast, 
   bodies?, 
   key?, 
   maxYears?, 
   yearLength?): PrimaryDirection[];

Direct primary directions of the bodies to the four angles within maxYears, by the given time key, sorted by years.

Parameters

ParameterTypeDefault value
engineEngineundefined
natalJdnumberundefined
latnumberundefined
lonEastnumberundefined
bodiesBodyId[]TRADITIONAL
keystring"naibod"
maxYearsnumber90
yearLengthnumberYEAR_DAYS

Returns

PrimaryDirection[]