NovasEqu2Ecl Method
To convert right ascension and declination to ecliptic longitude and latitude.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short Equ2Ecl(
double JdTt,
CoordSys CoordSys,
Accuracy Accuracy,
double Ra,
double Dec,
ref double ELon,
ref double ELat
)
Public Shared Function Equ2Ecl (
JdTt As Double,
CoordSys As CoordSys,
Accuracy As Accuracy,
Ra As Double,
Dec As Double,
ByRef ELon As Double,
ByRef ELat As Double
) As Short
- JdTt Double
- TT Julian date of equator, equinox, and ecliptic used for coordinates.
- CoordSys CoordSys
- Coordinate system: 0 ... mean equator and equinox of date 'JdTt'; 1 ... true equator and equinox of date 'JdTt'; 2 ... ICRS
- Accuracy Accuracy
- Selection for accuracy
- Ra Double
- Right ascension in hours, referred to specified equator and equinox of date.
- Dec Double
- Declination in degrees, referred to specified equator and equinox of date.
- ELon Double
- Ecliptic longitude in degrees, referred to specified ecliptic and equinox of date.
- ELat Double
- Ecliptic latitude in degrees, referred to specified ecliptic and equinox of date.
Int16
0 ... everything OK
1 ... invalid value of 'CoordSys'
To convert ICRS RA and dec to ecliptic coordinates (mean ecliptic and equinox of J2000.0),
set 'CoordSys' = 2; the value of 'JdTt' can be set to anything, since J2000.0 is assumed.
Except for the input to this case, all input coordinates are dynamical.
Supported in: 2.0