NovasGcrs2Equ Method
Converts GCRS right ascension and declination to coordinates with respect to the equator of date (mean or true).
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short Gcrs2Equ(
double JdTt,
CoordSys CoordSys,
Accuracy Accuracy,
double RaG,
double DecG,
ref double Ra,
ref double Dec
)
Public Shared Function Gcrs2Equ (
JdTt As Double,
CoordSys As CoordSys,
Accuracy As Accuracy,
RaG As Double,
DecG As Double,
ByRef Ra As Double,
ByRef Dec As Double
) As Short
- JdTt Double
- TT Julian date of equator to be used for output coordinates.
- CoordSys CoordSys
- Coordinate system selection for output coordinates.; 0 ... mean equator and
equinox of date; 1 ... true equator and equinox of date; 2 ... true equator and CIO of date
- Accuracy Accuracy
- Selection for accuracy
- RaG Double
- GCRS right ascension in hours.
- DecG Double
- GCRS declination in degrees.
- Ra Double
- Right ascension in hours, referred to specified equator and right ascension origin of date.
- Dec Double
- Declination in degrees, referred to specified equator of date.
Int16
0 ... everything OK
> 0 ... error from function 'Vector2RaDec''
> 10 ... 10 + error from function 'CioLocation'
> 20 ... 20 + error from function 'CioBasis'
>
For coordinates with respect to the true equator of date, the origin of right ascension can be either the true equinox or the celestial intermediate origin (CIO).
This function only supports the CIO-based method.
Supported in: 2.0