This should have stuff about changing to spherical, toroidal, and cylindrical geometry. This should work for both positions and orientations.
This should have stuff about changing to spherical, toroidal, and cylindrical geometry. This should work for both positions and orientations.