PGTSK3(3g) — Subroutines
Name
PGTSK3 − Returns the 3D coordinates of the points in a stroke.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
PGTSK3 (N, VIEWI, NP, PXA, PYA, PZA)
Argument Data Type Access Description
---------------------------------------------------------------------------
N Integer Read Maximum number of points
VIEWI Integer Write View index
NP Integer Write Number of points written
PXA(N), Array of Write Points in the stroke, in
PYA(N), reals world coordinates
PZA(N)
---------------------------------------------------------------------------
Description
PGTSK3 obtains information contained in the current event report entry. If the report contains input generated by anything other than a stroke-class input device, a call to this function generates an error. (See the PWAIT function for more information about input classes and the current event report.)
The PGTSK3 function returns the world coordinate points and the view index of the view transformation Digital PHIGS uses to translate the normalized projection coordinate points to the world coordinate points.
Digital PHIGS uses the current workstation transformation to translate the device coordinate points to the normalized projection coordinate points. See Getting Started with DEC PHIGS for more information on view indexes.
See Also
PWAIT
PFLUSH
PGTSK
PINSK3
PRQSK3
PSMSK3
PSSKM
PSVTIP