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

geomod(lymb) LYMB geomod(lymb)

NAME

geomod - universal files generated by GEOMOD.

DESCRIPTION

Geomod reads node and contour information from a universal file generated by the solid modelling program GEOMOD. The data consisting of nodes and elements containing nodes can be displayed using the render.

SUPERCLASS

modeller

INSTANCE VARIABLES

geometry_file is the name of the universal file to be read.

x_range is a two element vector containing the minimum and maximum x values in the set of nodes

y_range is a two element vector containing the minimum and maximum y values in the set of nodes

z_range is a two element vector containing the minimum and maximum z values in the set of nodes

MESSAGES

geometry_file=filename.uni sets the geometry file to the specified file name.

geometry_file? returns the name of the geometry file.

x_range? returns the range of x values.

y_range? returns the range of y values.

z_range? returns the range of z values.

element_list=(arguments) sets the elements that will be displayed when the instance is rendered. An error will be returned when there is a value in the argument list that is less than or equal to zero or greater than the number of elements in the instace.

element_list+(arguments) adds the elements in the argument list to the

elements displayed.

element_range=(min,max,min,max,...) sets the element list to elements between the min and max values in the argument list. An error will be returned if there is an uneven number of arguments or if any of the arguments are not valid element number.

element_range+(min,max,min,max...) adds the elements between the min and max values to the list of elements to be displayed.

elements? returns a list of the elements that will be displayed when the instance is rendered.

geometry! reads the data from the data in geometry_file.

free! frees all of the memory associated with the instance.

generate_data! stores the data in the display_data data_out.

return_data! returns the data on the argument stack

EXAMPLE

geomod new:ball geometry_file=ball.uni element_list=(1,2,3,7,8) element_list+(4,9,10,11) element_range+(12,19);

ball generate_data!;

surface new:s data_in=[ball data_out?];

actore new:a modeller=s;

SEE ALSO

byu


Please send comments and suggestions to
consult@rpi.edu