vdc_to_wc(3G)
NAME
vdc_to_wc − transform virtual device coordinate point to world coordinate point using inverse of 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);
DESCRIPTION
Input Parameters
fildes Integer file descriptor returned by gopen when an I/O path to a graphic device is opened.
vdcx,vdcy,vdcz Virtual device coordinates, specified as real (float) numbers, to be transformed into world coordinates.
Output Parameters
wcx,wcy,wcz World coordinates.
Discussion
This function is now implemented by the transform_point routine. It is suggested that trasnform_point be called directly.
Calling this routine is equivalent to calling transform_point with its mode parameter set to VDC_TO_MC. If no modelling matrices have been pushed on the matrix stack, modelling and world coordinates are identical.
DEFAULT
2-dimensional multiplication.
SEE ALSO
transform_point(3G), pop_matrix(3G), push_matrix(3G), gopen(3G), wc_to_vdc(3G).
Hewlett-Packard Company — HP-UX Release 9.10: April 1995