Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ptp3(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PTP3(3g)  —  Subroutines

Name

PTP3 − Applies a 3D transformation matrix to a point. 

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

Syntax

PTP3 (XI, YI, ZI, XFRMT, ERRIND, XO, YO, ZO)

Argument        Data Type       Access     Description
---------------------------------------------------------------------------
XI, YI          Real            Read       Coordinates of the input point
XFRMT(4,4)      Array of        Read       Transformation matrix
                reals
ERRIND          Integer         Write      Error indicator
XO, YO, ZO      Real            Write      Coordinates of the transformed
                                           point
---------------------------------------------------------------------------

Description

PTP3 applies the specified three-dimensional (4 x 4) transformation matrix (as created, for example, with the PBLTM3, PRO, PTR3, or PSC3 function) to a specified point.  It returns the resulting transformed point value. 

See Also

PBLTM3
PCOM3
PCOTM3
PRO
PROX
PROY
PROZ
PSC3
PSLMT3
PTP
PTR3

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