Click or drag to resize

NOVAS31Ecl2EquVec Method

Converts an ecliptic position vector to an equatorial position vector.

Namespace:  ASCOM.Astrometry.NOVAS
Assembly:  ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
public short Ecl2EquVec(
	double JdTt,
	CoordSys CoordSys,
	Accuracy Accuracy,
	double[] Pos1,
	ref double[] Pos2


Type: SystemDouble
TT Julian date of equator, equinox, and ecliptic used for coordinates.
Type: ASCOM.AstrometryCoordSys
Coordinate system selection. 0 ... mean equator and equinox of date; 1 ... true equator and equinox of date; 2 ... ICRS
Type: ASCOM.AstrometryAccuracy
Selection for accuracy
Type: SystemDouble
Position vector, referred to specified ecliptic and equinox of date. If 'CoordSys' = 2, 'pos1' must be on mean ecliptic and equinox of J2000.0; see Note 1 below.
Type: SystemDouble
Position vector, referred to specified equator and equinox of date.

Return Value

Type: Int16
 0 ... everything OK
 1 ... invalid value of 'CoordSys'
To convert an ecliptic vector (mean ecliptic and equinox of J2000.0 only) to an ICRS vector, set 'CoordSys' = 2; the value of 'JdTt' can be set to anything, since J2000.0 is assumed. Except for the output from this case, all vectors are assumed to be with respect to a dynamical system.
See Also