Modern IDL by Michael Galloy

API documentation for example code

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

objectgraphics/

mg_ogmesh_example.pro

includes main-level program

top source mg_ogmesh_example

mg_ogmesh_example, vertices [, polygons=fltarr] [, renderer=long] [, _extra=keywords]

Simple example of displaying a polygonal mesh in object graphics.

Parameters

vertices in required type=fltarr(3, n)

3 by n list of vertices

Keywords

polygons in optional type=fltarr

connectivity list defining polygons

renderer in optional type=long

set to 0 for hardware rendering, 1 for software rendering

_extra in optional type=keywords

keywords to IDLgrPolygons::init

File attributes

Modification date: Mon Nov 29 18:34:49 2010
Lines: 72
Docformat: rst rst