PTR3(3g) — Subroutines
Name
PTR3 − Creates a 3D homogeneous transformation matrix that performs a translation.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
PTR3 (DX, DY, DZ, ERRIND, XFRMT)
Argument Data Type Access Description
---------------------------------------------------------------------------
DX, DY, DZ Real Read Translation vector
ERRIND Integer Write Error indicator
XFRMT(4,4) Array of Write Transformation matrix
reals
---------------------------------------------------------------------------
Description
PTR3 creates a three-dimensional (4 x 4) homogeneous transformation matrix that performs the translation as defined by the specified translation vector. The returned matrix can be passed to functions that require transformation matrices as input, such as the PSLMT3, PSGMT3, and PCOM3 functions. To store a matrix in a structure element, you must pass it to the PSGMT3 or PSLMT3 function.
See Also
PBLTM3
PCOM3
PCOTM3
PROX
PROY
PROZ
PSC3
PSGMT3
PSLMT3
PSVWR3
PTP3
PTR