PEXBuildTransform2D Utility


Synopsis

 
   void PEXBuildTransform2D(
        PEXCoord2D *fixed_point,
        PEXVector2D *trans_vector,
        double angle_z,
        PEXVector2D *scale_vector,
        PEXMatrix3x3 matrix_return
   )
 

Arguments

fixed_point
Origin for scaling and rotation.

trans_vector
Translation vector.

angle_z
Angle of rotation about z axis, in radians.

scale_vector
Vector of scale factors for x and y axes.

matrix_return
Matrix in which result is stored.

Returns

None.

Description

Invoke PEXBuildTransform2D to build a 3x3 transformation matrix that scales by the values in the scale vector about the fixed point, rotates about the z axis 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.