On the three-dimensional structure of edge-on disc galaxies