TRANSLATE command sentence moves atom or point selection by the specified vector.
TRANSLATE
ATOMS POINTS SURFACE VOLUME POTENTIAL DENSITY
SELECT ... END
VECTOR 3*real DISTANCE (abs(3*real)) real RMS
CENTER
TRANSLATES selected atoms by adding the specified vector. This is the default, it just makes the syntax easier to understand.
TRANSLATES the specified kind of points of selected atoms.
The translational vector must be specified by its X Y and Z components. When the DISTANCE is specified than the specified vector is normalized to length 1.0 and each component is multiplied by the specified distance.
The translational vector is taken from the last RMS fit calculation.
The translational vector is calculated from the current image center and the center (arithmetic middle) of the selected coordinates. The selected atoms are translated into the center of the image.
MAIN> translate atom select all end vector 10.0 15. 3. distance 1.0
MAIN> translate select segment number 1 end vector 10.0 15. 3.
MAIN> translate atom select all end rms
MAIN> translate atom select all end center
MAIN> translate points density select all end vect 10. 0. 3.