Relative spherical coordinates of 2 points.

514 Views Asked by At

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?