<<<<<<<<<<<<<<<<<

Idraw_data(l) OSCAR Idraw_data(l)

NAME

idraw_data - interpret geometry in an IDRAW file

DESCRIPTION

The idraw_data class allows LYMB users to read 2D data from IDRAW PostScript files.

SUPERCLASS

display_data

INSTANCE VARIABLES

filename Name of IDRAW filename to read. It will be located using LYMB_PATH.

MESSAGES

filename[=?] Set or get the IDRAW filename.

initialize! Interpret the IDRAW file given by filename. The z coordinate for each point is set to 0. Currently, only polygons, open and closed bezier splines, and grouped pictures are interpreted from the IDRAW file.

EXAMPLES

The following LYMB script associates an actor with the geometry stored in an IDRAW file called arrow.ps, located in LYMB_PATH.

idraw_data new: arrow_data filename= "arrow.ps" initialize! ;

idraw_modeller new: arrow_model data_in= arrow_data ;

actor new: arrow modeller= arrow_model ;

SEE ALSO

idraw_modeller, display_data


Please send comments and suggestions to
consult@rpi.edu