Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

XG.3D-COMBINE-ROTATIONS

source files: xtfm.[ch]

SYNTAX

(XG.3D-COMBINE-ROTATIONS 
    (<axis1-x> <axis1-y> <axis1-z>)  <angle1>
    (<axis2-x> <axis2-y> <axis2-z>)  <angle2>
  ...)

DESCRIPTION

Combine a series of arbitrary-axis rotations into a single rotation. Angles should be specified in radians. The call will return a list of the form ((<axis-x> <axis-y> <axis-z>) <angle>).

This function is useful for combining the three principal axis rotations returned by the :DECOMPOSE method into a single rotation. (In fact, that is why it was written!)


Go to the first, previous, next, last section, table of contents.