Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 2 points in space, defined by their spherical coordinates.

I'd like to know the spherical coordinates of the second point in a reference system centered on the first point (I know the unit vector defining x,y, and z in the new reference system, obviously).

Is there a standard way to calclate the new coordinates, without having to convert to/from cartesian first?

share|cite|improve this question
I tried this a few weeks ago using only geometry and gave up because it was taking too long. I think you have to use cartesians and then change it back to spherical polars (at least, I couldn't see any other way). I got 3 horrible equations, one for each coordinate. By the end of it all, I forgot what I had set out to do in the first place... so I am interested... do you know why you are doing this? – Adam Rubinson May 9 '12 at 18:17
I'm currently working on augmented reality, and our current approach involves a lot of approximations, and conversions (and loss of precision). If we could get the points in the viewer's coordinate system, calculations would be much easier / faster. – G B May 10 '12 at 7:00

Your Answer


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

Browse other questions tagged or ask your own question.