Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ptp(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PTP(3g)  —  Subroutines

Name

PTP − Applies a 2D transformation matrix to a point. 

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

Syntax

PTP (XI, YI, XFRMT, ERRIND, XO, YO)

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

Description

PTP applies the specified two-dimensional (3 x 3) transformation matrix (as created, for example, with the PBLTM, PRO, PTR, or PSC function) to a specified point.  It returns the resulting transformed point value. 

See Also

PBLTM
PCOM
PCOTM
PRO
PSC
PSLMT3
PTP3
PTR

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