A toolbox for analyzing the structure and orientation of the magellanic clouds.