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[] pos
)
Visual Basic
Public Sub RADec2Vector ( _
	ra As Double, _
	dec As Double, _
	dist As Double, _
	ByRef pos As Double() _
)
Visual C++
public:
virtual void RADec2Vector(
	double ra, 
	double dec, 
	double dist, 
	array<double>^% pos
) sealed

Parameters

ra
Type: System..::..Double
Right ascension (hours).
dec
Type: System..::..Double
Declination (degrees).
dist
Type: System..::..Double
Distance
pos
Type: array<System..::..Double>[]()[][]%
Position vector, equatorial rectangular coordinates (AU).

Remarks