OpenDX - Documentation
Full Contents QuickStart Guide User's Guide User's Reference
Previous Page Next Page Table of Contents Partial Table of Contents Index Search

Grid

Category

Realization

Function

Creates an output geometry.

Syntax

grid = Grid(point, structure, shape, density);

Inputs
Name Type Default Description
point vector none starting point from which the grid is constructed
structure string "brick" type of grid
shape vector list structure dependent size and shape of structure
density integer list {3, 3, ...} number of points to be put on each grid element

Outputs
Name Type Description
grid geometry field output grid

Functional Details

point

is the starting point from which the grid is constructed.

structure

specifies the type of grid geometry and must be one of the following: "brick " (the default), "crosshair," "ellipse," "line," "point," or "rectangle."

For a structure specified as "point," it is neither necessary nor useful to specify shape or density. For the other valid structures, the output object extends symmetrically from point.

shape

is a list of vectors that characterize the grid structure, specifying its size and orientation: A line requires one vector; rectangles and ellipses, two vectors; and bricks and crosshairs, three vectors. For "brick," the default shape specification is {[1 0 0] [0 1 0] [0 0 1]}; for other structures, the default specification is the appropriate corresponding vector list.

density

determines the number of points in the output. For crosshairs and bricks, the specification is a list of length 3; for rectangles, a list of length 2; and for the other structures, a single integer. In each case, density is the number of points along the edge in question. Bricks and rectangles are filled.

Note: Specifying point and shape as 2-dimensional vectors can produce a 2-dimensional output grid for the structures "ellipse," "line," "point," and "rectangle."

Components

Creates "positions" and "connections" components.

Example Visual Programs

InvalidData.net
MakeLineMacro.net
PlotLine.net
PlotTwoLines.net
ThunderStreamlines.net
SIMPLE/Grid.net

See Also

 Construct,  Glyph,  Map,  Streakline,  Streamline


Full Contents QuickStart Guide User's Guide User's Reference

[ OpenDX Home at IBM | OpenDX.org ]