PEXBuildTransform(3) — Subroutines
Name
PEXBuildTransform
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_pointorigin for scaling and rotation
trans_vectortranslation vector
angle_xangle of rotation about X axis, in radians
angle_yangle of rotation about Y axis, in radians
angle_zangle of rotation about Z axis, in radians
scale_vectorvector of scale factors for X, Y and Z
matrix_return
matrix into which result is stored
Returns
None
Description
This function builds 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