Planes for which the lines are the shortest paths between points