Greetings.
I have been given a 3D vector and I need to convert this to RA and Dec.
The following vector is for Acrux
j2000":"[-0.449409, -0.0523899, -0.891789]
I need a formula to convert the x, y, and z to the RA and Dec
http://stellarium.org/doc/0.18/remoteControlApi.html
Is someone able to provide me with a formula so I can create a couple of functions in Java to return the values for a program I am writing? I would prefer that the RA and Dec be returned in degrees.
Thanks