Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vdc_to_wc(3G) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

transform_point(3G)

pop_matrix(3G)

push_matrix(3G)

gopen(3G)

wc_to_vdc(3G)

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 (VDC), 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 transform_point be called directly. 

Calling this routine is equivalent to calling transform_point with its mode parameter set to VDC_TO_MC. If no modeling matrices have been pushed on the matrix stack, modeling and world coordinates are identical. 

SEE ALSO

transform_point(3G), pop_matrix(3G), push_matrix(3G), gopen(3G), wc_to_vdc(3G). 

Hewlett-Packard Company  —  November 03, 1994

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