A shortest path on a box, a tin or a cone becomes a straight line once you cut the surface open and lay it flat.