objectgraphics/
mg_show_polygon.pro
top source mg_show_polygon
mg_show_polygon [, x] [, y] [, z] [, polygons=1d array] [, renderer=long]
Example of displaying a polygon using object graphics. The default data set is the cow provided in the IDL distribution.
Parameters
- x in optional type=1d array
x-coordinates of polygon vertices
- y in optional type=1d array
y-coordinates of polygon vertices
- z in optional type=1d array
z-coordinates of polygon vertices
Keywords
- polygons in optional type=1d array
how the vertices are connected to make a polygon
- renderer in optional type=long
set to 0 for hardware rendering, 1 for software rendering
File attributes
Modification date: | Mon Nov 29 18:34:49 2010 |
Lines: | 101 |
Docformat: | rst rst |