public static final void rotate ( Structure structure , Matrix m ) { AtomIterator iter = new AtomIterator ( structure ) ; while ( iter . hasNext ( ) ) { Atom atom = iter . next ( ) ; rotate ( atom , m ) ; } }
Rotate a structure object . The rotation Matrix must be a pre - multiplication Matrix .