Geometrical analysis of precessional switching