Converts a vector in equatorial rectangular coordinates to equatorial spherical coordinates.
Namespace: ASCOM.Astrometry.NOVASAssembly: ASCOM.Astrometry
(in ASCOM.Astrometry.dll) Version: 188.8.131.52 (184.108.40.20619)
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.