By combining the Parallax and Rectangular To Polar algorithms, we can compute the X, Y, Z coordinates of a star relative to the Sun.