Computer Aided Design and Manufacturing. Zhuming Bi

Чтение книги онлайн.

Читать онлайн книгу Computer Aided Design and Manufacturing - Zhuming Bi страница 30

Computer Aided Design and Manufacturing - Zhuming Bi

Скачать книгу

of each type of transformation.

Transformation Features Illustration
Translation A translation is the simplest transformation and is the translation when the point P (x, y, z) is moved by the vector d(dx, dy, dz) to a new point P(x′, y′, z′). images image
Scale In case of scaling, every coordinate value of P (x, y, z) is multiplied by a constant. If the constants are the same along three axes, this corresponds to a uniform scaling (i.e. Cx = Cy = Cz). Otherwise, it is a non‐uniform scaling. images image
Rotation A rotation refers to the rotation around a specified axis with an angle (i.e. θx, θy, or θz along the x, y, and z axes, respectively). A generic rotation along a specific axis can be decomposed as a series of aforementioned rotations. images images images image
Mirror The mirror of an object is defined with respect to a reference plane, i.e. O‐YZ, O‐XZ, and O‐XY planes, respectively. images images images image
Projection The transaction for projection computes the coordinates P′(x′, y′, z′) of a point P (x, y, z) projected on a plane with a distance d to the observer. images image

      2.2.4 Coordinate Transformation of Objects

c02f009

      In Figure 2.9, a reference origin images is used to represent the position of the object with respect to the world coordinate system (OwXwYwZw) and the orientation of the object is represented by three unit vectors (Xb, Yb, Zb). Furthermore, a homogeneous coordinate (x, y, z, h) and the corresponding 4 by 4 homogenous matrix [T]4x4 in Eq. (2.4) are widely used to facilitate the matrix manipulations for the coordinate transformation of objects:

      where [T]4 × 4 is the homogenous matrix for the representation of an object CS {ObXbYbZb} in the world coordinate system (OwXwYwZw).

      Note that the homogenous matrix in Eq. (2.4) includes six independent variables: three for the position and the rest for the orientation.

c02f010

      The generic homogeneous matrix [T]G can be customized to implement some common coordinate transformations of an object. For example, the translation matrix [T]TR of an object can be simplified as

      (2.5)equation

      where [T]TR is the 3D translation matrix and p, q, r are the translational distances of a point from its original position along the x, y, and z axes, respectively.

      The scaling matrix [T]SC of a 3D object can be defined as

Скачать книгу