wc_to_vdc(3G)
NAME
wc_to_vdc − transform world coordinate point into virtual device coordinate point using current transformation matrix
SYNOPSIS
C Syntax:
void wc_to_vdc(fildes,wcx,wcy,wcz,vdcx,vdcy,vdcz);
int fildes;
float wcx,wcy,wcz,*vdcx,*vdcy,*vdcz;
FORTRAN77 Syntax:
subroutine wc_to_vdc(fildes,wcx,wcy,wcz,vdcx,vdcy,vdcz)
integer*4 fildes
real wcx,wcy,wcx,vdcx,vdcy,vdcz
Pascal Syntax:
procedure wc_to_vdc(fildes:integer;wcx,wcy,wcz:real;
var vdcx,vdcy,vdcz:real);
DESCRIPTION
Input Parameters
fildes Integer file descriptor returned by gopen when an I/O path to a graphic device is opened.
wcx,wcy,wcz Define a point in world coordinate space.
Output Parameters
vdcx,vdcy,vdcz
Transformed point in virtual device coordinate space.
Discussion
This function is now implemented by the transform_point routine. It is suggested that transform_point be called directly.
This routine is equivalent to calling transform_point with its mode parameter set to MC_TO_VDC. If no modelling matrices have been pushed on the matrix stack, modelling and world coordinates are identical.
SEE ALSO
gopen(3G), pop_matrix(3G), push_matrix(3G), transform_point(3G),
wc_to_vdc(3G), view_camera(3G), view_matrix(3G).
Hewlett-Packard Company — HP-UX Release 9.10: April 1995