NovasEqu2EclVec Method

Converts an equatorial position vector to an ecliptic position vector.

Definition

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

Parameters

JdTt  Double
TT Julian date of equator, equinox, and ecliptic used for
CoordSys  CoordSys
Coordinate system selection. 0 ... mean equator and equinox of date 'JdTt'; 1 ... true equator and equinox of date 'JdTt'; 2 ... ICRS
Accuracy  Accuracy
Selection for accuracy
Pos1  Double
Position vector, referred to specified equator and equinox of date.
Pos2  Double
Position vector, referred to specified ecliptic and equinox of date.

Return Value

Int16
            0 ... everything OK
            1 ... invalid value of 'CoordSys'
            

Remarks

To convert an ICRS vector to an ecliptic vector (mean ecliptic and equinox of J2000.0 only), 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 vectors are assumed to be with respect to a dynamical system.

Version Information

.NET Standard

Supported in: 2.0

See Also