next up previous contents index
Next: selection.rotate_origin() rotate Up: The selection class: handling Previous: selection.write() write   Contents   Index

selection.translate() -- translate all coordinates

translate(vector)
This translates the coordinates of all atoms in the selection by the given vector. All distances are in angstroms.
Example: See selection() command.



Automatic builds 2011-09-28