// interpret a rotation as a permutation on INIT_X
interpret a rotation as a permutation on INIT_X
interpret a rotation as a permutation on INIT_X
fn vertex_perm_from_rot(rot: &IntRot) -> Perm
{
    let points = rot.transform_fracs(&INIT_X);
    let indices = points.into_iter().map(index_from_point).collect();
    Perm::from_vec(indices).unwrap()
}
fn vertex_perm_from_rot ( rot : & IntRot ) -> Perm { let points = rot . transform_fracs ( & INIT_X ) ; let indices = points . into_iter ( ) . map ( index_from_point ) . collect ( ) ; Perm :: from_vec ( indices ) . unwrap ( ) }
interpret a rotation as a permutation on INIT_X
interpret a rotation as a permutation on INIT_X
rot
&IntRot