On the mathematical description of glaciated valley cross sections