rot_mx_info Class Reference

Class for grouping information about rotation matrices. More...

#include <rot_mx_info.h>

List of all members.

Public Member Functions

 rot_mx_info ()
 Default constructor. Some data members are not initialized!
 rot_mx_info (rot_mx const &r)
 Determination of all properties.
int type () const
 Rotation-part type (1, 2, 3, 4, 6, -1, -2=m, -3, -4, -6).
sg_vec3 const & ev () const
 Axis direction (Eigenvector) of the corresponding proper rotation.
int sense () const
 Sense of rotation with respect to the axis direction.


Detailed Description

Class for grouping information about rotation matrices.

Determing the sense of rotation requires the rotation type and Eigenvector. Therefore it is most efficient to group all these properties so that the intermediate results can also be used.


Member Function Documentation

sg_vec3 const& ev (  )  const [inline]

Axis direction (Eigenvector) of the corresponding proper rotation.

Only defined if abs(type()) > 1.
For type() > 0, the proper rotation is defined as r.
For type() < 0, the proper rotation is defined as -r. So for type() == -2, this is the normal to the mirror plane.

int sense (  )  const [inline]

Sense of rotation with respect to the axis direction.

Only defined if abs(type()) > 1.


The documentation for this class was generated from the following file:

Generated on Wed Oct 29 19:59:03 2008 for cctbx by  doxygen 1.5.6