PBLTM3(3g) — Subroutines
Name
PBLTM3 − Creates a 3D homogeneous transformation matrix and performs the specified transformation.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
PBLTM3 (X0, Y0, Z0, DX, DY, DZ, PHIX, PHIY, PHIZ, FX, FY, FZ, ERRIND,
XFRMT)
Argument Data Type Access Description
---------------------------------------------------------------------------
X0, Y0, Z0 Real Read Fixed point for scaling, rotating,
and translating
DX, DY, D0 Real Read Shift vector
PHIX, PHIY, Real Read Rotation angle, in radians (x, y, z)
PHIZ
FX, FY, FZ Real Read Scale factor vector
ERRIND Integer Write Error indicator
XFRMT(3,3) Array of Write Transformation matrix
reals
---------------------------------------------------------------------------
Description
PBLTM3 creates a three-dimensional (4 x 4) homogeneous transformation matrix, which performs the specified transformation. The order of the transformation is as follows:
1Scale (relative to the specified fixed point)
2Rotate (relative to the specified fixed point)
3Shift (move)
See Also
PCOTM3
PSGMT3
PSLMT3