Converts equatorial spherical coordinates to a vector (equatorial rectangular coordinates).

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

Syntax

C#
public void RaDec2Vector(
	double Ra,
	double Dec,
	double Dist,
	ref double[] Vector
)
Visual Basic
Public Sub RaDec2Vector ( _
	Ra As Double, _
	Dec As Double, _
	Dist As Double, _
	ByRef Vector As Double() _
)
Visual C++
public:
virtual void RaDec2Vector(
	double Ra, 
	double Dec, 
	double Dist, 
	array<double>^% Vector
) sealed

Parameters

Ra
Type: System..::..Double
Right ascension (hours).
Dec
Type: System..::..Double
Declination (degrees).
Dist
Type: System..::..Double
Distance in AU
Vector
Type: array<System..::..Double>[]()[][]%
Position vector, equatorial rectangular coordinates (AU).

Remarks