public void ReorientMarkedSegments()
 {
     SaveStateForUndo("Reorient marked segments");
     m_level.ReorientMarkedSegments();
     RefreshGeometry();
 }