NAME

world_to_window - transform from world to window coord frame

PROTOTYPE

unitptr world_to_window( int n, unitptr host)

ARGUMENTS

int n
number of points to be transformed
unitptr host
host unit for newly created instance
unitptr u:
pointer to newly created unit

INTERFACE OF CREATED UNIT:

in_0[3]:
world coordinates of first point -....
in_n-1[3]:
world coordinates of last point
out_0[2]:
window coordinates of first point (0,0) is lower left corner -....
out_n-1[2]:
window coordinates of last point (0,0) is lower left corner

SEE ALSO:

define_world, window_to_world

FILE

/amnt/loge/users/nistaff02/nistaff/rhaschke/nst7/man/../o.linux//../foldersrc/nst_solid.c