Modern IDL by Michael Galloy

API documentation for example code

single page | use frames     summary     class     fields     routine details     file attributes

objectgraphics/

mg_show_polygon.pro


Routines

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: Sat Jan 31 21:16:34 2015
Lines: 47
Docformat: rst rst