VDC_TO_WC(3G)
NAME
vdc_to_wc − transform a Virtual Device Coordinate point to a World Coordinate point using the inverse of the current transformation matrix.
SYNOPSIS
C SYNTAX
void vdc_to_wc(fildes,vdcx,vdcy,vdcz,wcx,wcy,wcz);
int fildes;
float vdcx,vdcy,vdcz,*wcx,*wcy,*wcz;
FORTRAN77 SYNTAX
subroutine vdc_to_wc(fildes,vdcx,vdcy,vdcz,
wcx,wcy,wcz)
integer*4 fildes
real vdcx,vdcy,vdcz,wcx,wcy,wcz
PASCAL SYNTAX
procedure vdc_to_wc (fildes:integer;vdcx,vdcy,vdcz:real;
var wcx,wcy,wcz:real);
HP-UX COMPATIBILITY
Level: HP-UX/STANDARD
Origin: HP
DESCRIPTION
INPUT PARAMETERS
fildes
is an integer file descriptor returned by gopen when an I/O path to a graphic device is opened.
vdcx,vdcy,vdcz
are Virtual Device Coordinates, specified as real (float) numbers, to be transformed into World Coordinates.
OUTPUT PARAMETERS
wcx,wcy,wcz
are the World Coordinates.
DISCUSSION
The inverse of the Current Transformation matrix is calculated only if the Current Transformation Matrix has been changed since it was last calculated.
The current dimension mode (2-dimension or 3-dimension) is used when deciding how the matrix multiplication is to be performed. This mode is set by the THREE_D parameter of the gopen procedure.
DEFAULT
2-dimensional multiplication.
SEE ALSO
pop_matrix(3g),push_matrix(3g),gopen(3g),wc_to_vdc(3g).
Hewlett-Packard Company — May 11, 2021