Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ proz(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PROZ(3g)  —  Subroutines

Name

PROZ − Creates a 3D homogeneous transformation matrix that executes a rotation about the z-axis. 

Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function

Syntax

PROZ (ROTANG, ERRIND, XFRMT)

Argument        Data Type       Access    Description
---------------------------------------------------------------------------
ROTANG          Real            Read      Rotation angle in radians; a
                                          positive number yields a
                                          counterclockwise rotation (when
                                          looking along the positive
                                          z-axis, towards the origin).
ERRIND          Integer         Write     Error indicator.
XFRMT(4,4)      Array of reals  Write     Transformation matrix.
---------------------------------------------------------------------------

Description

PROZ creates a three-dimensional (4 x 4) homogeneous transformation matrix that performs the specified rotation about the z-axis.  If the rotation direction is counterclockwise, the rotation value is positive. 

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 PSLMT3 or PSGMT3 function. 

See Also

PBLTM3
PCOM3
PCOTM3
PRO
PROX
PROY
PSC3
PSGMT3
PSLMT3
PTP3
PTR3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026