From: Axel Kohlmeyer (
Date: Tue Oct 28 2008 - 12:14:13 CDT

On Tue, 28 Oct 2008, Edward Lyman wrote:

EL> Hi all,

hi edward,

EL> I am looking for an explicit definition of the 4x4 matrix that is is used to
EL> 'move' a selection. e.g., lets say I just want to rotate a selection by 30
EL> degrees around the y axis. z_new = sin(30)x_old + cos(30) z_old...but which
EL> matrix elements are which? and what's up with the extra row and column?

please have a closer look at the matrix commands that will
build those matrices for you:


EL> somehow they must correspond to translations...
EL> thx,
EL> Ed

Axel Kohlmeyer
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
If you make something idiot-proof, the universe creates a better idiot.