Converts a vector in equatorial rectangular coordinates to equatorial spherical coordinates.
Namespace: ASCOM.Astrometry.NOVASAssembly: ASCOM.Astrometry
(in ASCOM.Astrometry.dll) Version: 220.127.116.11 (18.104.22.16819)
Public Function Vector2RaDec ( _
Pos As Double(), _
ByRef Ra As Double, _
ByRef Dec As Double _
) As Short
= 0 ... Everything OK.
= 1 ... All vector components are zero; 'Ra' and 'Dec' are indeterminate.
= 2 ... Both Pos and Pos are zero, but Pos is nonzero; 'Ra' is indeterminate.