Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wc_to_vdc(3G) — HP-UX 5.50

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gopen(3G)

pop_matrix(3G)

push_matrix(3G)

transform_point(3G)

wc_to_vdc(3G)

view_camera(3G)

view_matrix(3G)

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,wcx,*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. 

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 trasnform_point be called directly. 

This routine is equivalent to calling transform_point with its mode parameter set to MC_TO_VDC.  If no modeling matrices have been pushed on the matrix stack, modeling 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  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026