Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ptr(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PTR(3g)  —  Subroutines

Name

PTR − Creates a 2D homogeneous transformation matrix that performs a translation. 

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

Syntax

PTR (DX, DY, ERRIND, XFRMT)

Argument        Data Type       Access     Description
---------------------------------------------------------------------------
DX, DY          Real            Read       Translation vector
ERRIND          Integer         Write      Error indicator
XFRMT(3,3)      Array of        Write      Transformation matrix
                reals
---------------------------------------------------------------------------

Description

PTR creates a two-dimensional (3 x 3) 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 PSLMT, PSGMT, and PCOM functions.  To store a matrix in a structure element, you must pass it to the PSLMT or PSGMT function. 

See Also

PBLTM
PCOM
PCOTM
PRO
PSC
PSGMT
PSLMT
PSVWR
PTP
PTR3

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