OOF2: The Manual

Name

Axis (Axis) — Axis and angle representation of a 3D rotation. The rotation brings the crystal axes into coincidence with the lab axes.

Synopsis

Axis(angle,x,y,z)

Details

  • Base class: Orientation
  • Parameters:

    angle
    Rotation angle, in degrees. Type: A real number in the range [-180, 180].
    x
    x component of rotation axis. Type: A real number.
    y
    y component of rotation axis. Type: A real number.
    z
    z component of rotation axis. Type: A real number.

Description

An Axis object describes the orientation of an object in three dimensional space, in terms of an axis direction, and an angle of rotation about that axis. When used for crystal orientation in OOF2, the indicated rotation brings the crystalline \(\hat{\mathrm{\bf a}}\), \(\hat{\mathrm{\bf b}}\), and \(\hat{\mathrm{\bf c}}\) axes into coincidence with the laboratory (or screen) axies \(\hat{\mathrm{\bf x}}\), \(\hat{\mathrm{\bf y}}\), and \(\hat{\mathrm{\bf z}}\) respectively. The components of the rotation axis itself are preserved by the rotation, and so may be specified in either the crystalline or the laboratory coordinate systems.

The x, y, and z parameters specify the rotation axis. The axis passes through the origin and the point \((x,y,z)\). The vector \((x,y,z)\) does not have to be a unit vector.

The parameter angle specifies the rotation angle, in degrees.