DMPDW(3g) — Subroutines
Name
DMPDW − Converts device coordinate points to world coordinate values.
Operating States: PHOP, WSOP, ∗, ∗
Digital PHIGS extension function
Syntax
DMPDW (WKID, N, DCPTS, ERRIND, VIEW, WCPTS)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
N Integer Read Number of points
DCPTS Array of Read Device coordinate point list, in
reals the order x1, y1, z1, x2, y2, z2...
ERRIND Integer Write Error indicator
VIEW Integer Write View index used for the transfor-
mation
WCPTS Array of Write World coordinate point list, in the
reals order x1, y1, z1, x2, y2, z2...
--------------------------------------------------------------------------
Description
DMPDW converts the specified list of device coordinate points to world coordinate values and returns them in mapped points. Digital PHIGS uses the same procedure for stroke input devices for this conversion. Digital PHIGS transforms the points to normalized projection coordinates by the inverse of the workstation transformation. To transform the points to world coordinate values, Digital PHIGS searches the workstation’s view table for the highest priority view that contains all the specified points, and uses the inverse view mapping and orientation transformations of that view. The function returns the view index of the view used for the transformation.
Digital PHIGS Version 3.1 does not support this function.
See Also
DMPDWS
DMWSDC