PEXBuildTransform Utility


Synopsis

 
   void PEXBuildTransform(
        PEXCoord *fixed_point,
        PEXVector *trans_vector,
        double angle_x,
        double angle_y,
        double angle_z,
        PEXVector *scale_vector,
        PEXMatrix matrix_return
   )
 

Arguments

fixed_point
Origin for scaling and rotation.

trans_vector
Translation vector.

angle_x
Angle of rotation about x axis, in radians.

angle_y
Angle of rotation about y axis, in radians.

angle_z
Angle of rotation about z axis, in radians.

scale_vector
Vector of scale factors for x, y and z.

matrix_return
Matrix into which result is stored.

Returns

None.

Description

Invoke PEXBuildTransform to build a transformation matrix that scales by the values in the scale vector about the fixed point, rotates about the x, y and z axes using the fixed point as the center of rotation and then translates according to translation vector, in that order.

Errors

None.

See Also

For a list of modeling transformation utilities, see Modeling Transformation Utilities. For a list of related topics, see PEXlib Utilities.