NovasPrecession Method
Precesses equatorial rectangular coordinates from one epoch to another.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short Precession(
double JdTdb1,
double[] Pos1,
double JdTdb2,
ref double[] Pos2
)
Public Shared Function Precession (
JdTdb1 As Double,
Pos1 As Double(),
JdTdb2 As Double,
ByRef Pos2 As Double()
) As Short
- 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.
Int16
0 ... everything OK
1 ... Precession not to or from J2000.0; 'JdTdb1' or 'JdTdb2' not 2451545.0.
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.
Supported in: 2.0