Converts an equatorial position vector to an ecliptic position vector.

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public short Equ2EclVec(
	double JdTt,
	CoordSys CoordSys,
	Accuracy Accuracy,
	double[] Pos1,
	ref double[] Pos2
)
Visual Basic
Public Function Equ2EclVec ( _
	JdTt As Double, _
	CoordSys As CoordSys, _
	Accuracy As Accuracy, _
	Pos1 As Double(), _
	ByRef Pos2 As Double() _
) As Short
Visual C++
public:
virtual short Equ2EclVec(
	double JdTt, 
	CoordSys CoordSys, 
	Accuracy Accuracy, 
	array<double>^ Pos1, 
	array<double>^% Pos2
) sealed

Parameters

JdTt
Type: System..::..Double
TT Julian date of equator, equinox, and ecliptic used for
CoordSys
Type: ASCOM.Astrometry..::..CoordSys
Coordinate system selection. 0 ... mean equator and equinox of date 'JdTt'; 1 ... true equator and equinox of date 'JdTt'; 2 ... ICRS
Accuracy
Type: ASCOM.Astrometry..::..Accuracy
Selection for accuracy
Pos1
Type: array<System..::..Double>[]()[][]
Position vector, referred to specified equator and equinox of date.
Pos2
Type: array<System..::..Double>[]()[][]%
Position vector, referred to specified ecliptic and equinox of date.

Return Value

 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.

See Also