NovasPrecession Method

Precesses equatorial rectangular coordinates from one epoch to another.

Definition

Namespace: ASCOM.Tools.Novas31
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static short Precession(
	double JdTdb1,
	double[] Pos1,
	double JdTdb2,
	ref double[] Pos2
)

Parameters

JdTdb1  Double
TDB Julian date of first epoch. See remarks below.
Pos1  Double
Position vector, geocentric equatorial rectangular coordinates, referred to mean dynamical equator and equinox of first epoch.
JdTdb2  Double
TDB Julian date of second epoch. See remarks below.
Pos2  Double
Position vector, geocentric equatorial rectangular coordinates, referred to mean dynamical equator and equinox of second epoch.

Return Value

Int16
            0 ... everything OK
            1 ... Precession not to or from J2000.0; 'JdTdb1' or 'JdTdb2' not 2451545.0.
            

Remarks

One of the two epochs must be J2000.0. The coordinates are referred to the mean dynamical equator and equinox of the two respective epochs.

Version Information

.NET Standard

Supported in: 2.0

See Also