HappyDoc Generated Documentation Class: Trans

. / Trajectory / DCD / MDToolsMarch97 / md_Trans.py / Trans 

Transformation matrix generator.

Data: matrix

Methods: t = Trans([shift],[center],[axis],[angle],[units]) NOTE: (x,y,z) or (x,y,z,1) treated as Vector, (x,y,z,0) as Coord shift=Vector: translate by this vector (applied last) shift=Coord: translate this coordinate to the origin (applied last) center=Coord: rotate about this coordinate axis=Vector: rotate around line along this direction from center axis=Coord: rotate around line from center to this coordinate angle: amount to rotate in units t(atom) - modify coordinates of an atom t(group) - modify coordinates of a group of atoms t(trans2) - left-multiply another transformation

See also: HomoCoord, angles

Methods   
  __call__ 
__call__ ( self,  coord )
  __repr__ 
__repr__ ( self )
  __init__ 
__init__ (
        self,
        shift=( 0., 0., 0.),
        center=( 0., 0., 0.),
        axis=( 0., 0., 1.),
        angle=0.,
        units=angledefault,
        )

This document was automatically generated Thu Feb 02 15:18:10 2006 by HappyDoc version 3.0.a1