API Reference / aspectBetween · function

Function: aspectBetween()

function aspectBetween(
   engine, 
   bodyA, 
   bodyB, 
   jdUt, 
   zodiac?, 
   orbs?): AspectMatch | null;

Defined in: electional.ts:79

The tightest major aspect between two bodies at jd, within orb, or null. orb is the signed distance from exact (degrees).

Parameters

engine

Engine

bodyA

BodyId

bodyB

BodyId

jdUt

number

zodiac?

Zodiac = "tropical"

orbs?

Record<string, number> = DEFAULT_ORBS

Returns

AspectMatch | null