Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Given the Right ascension in h m s, Declination in deg ' " and the Trigonometric parallax How can I get the cartesian (x,y,z) coordinates of a star? I'm guessing I need 3 separate formulas to get each x, y and z values.

share|improve this question
    
Why do you need Cartesian coordinates? In any event... –  J. M. Dec 23 '10 at 10:09
2  
Then your declination corresponds to $\theta$, right ascension to $\phi$ and parallax to $r$ for a properly referenced spherical coordinate system. See en.wikipedia.org/wiki/Spherical_coordinate_system –  Ross Millikan Dec 23 '10 at 14:15
    
@J.M. to plot thing in openGL you need Cartesian coordinates. @Ross - Thanks I'll look into it. –  Justin808 Dec 24 '10 at 20:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.