next up previous contents index
Next: Arith_Db Up: The O_heap_2 commands Previous: The O_heap_2 commands

Rot_trans_Db

 

rot_trans_db [x'] [R] [x]

Apply a rotation/translation operator R to the coordinates of a point x storing the results in x':

 
x'  = R * x

where x, x' and R are names of datablocks. This is most frequently used to modify the .active_centre to look at non-crystallographically related molecules:  

  O > copy save_centre .active_centre
  O > rot_trans_db .active_centre .lsq_rt_a_to_b .active_centre

We first made a safe copy of .active_centre, so we can restore it later.