GEOMETRY (geometry) functions


LIBRARY ROUTINE

lgquadmesh - *

LIBRARY CALL

int lgquadmesh(kobject inobj,
	       int have_mapfile,
	       kobject cmapobj,
	       kgeom_object *outobj,
	       char *name,
	       int have_tcoords,
	       float *tc,
	       int optimization,
	       int do_normals)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

to create a quad mesh geom object from 2D data. the geom may be optionally colorized with a colormap, whose presence is optional.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

do not drive heavy machinery while operating this software

RESTRICTIONS

Restrictions on data or input as applicable

MODIFICATION

* Sep 1995 new tstrip code generates a bunch of triangle strips from 2d input data (w/ 3d location data). an object is created which has v-1 triangle strips, where v is the number of rows of data.

FILES

$GEOMETRY/objects/library/geometry/src/lgquadmesh.c

SEE ALSO

geometry(3)

COPYRIGHT

Copyright (C) 1996,1997 , The Regents of the University of California. All rights reserved.