A geometric description of Routh’s procedure