NAME

cxGeoGridDefine - create a grid geometry object

C SPECIFICATION

#include <cx/Geometry.h>

cxGeo cxGeoGridDefine( int nu, int nv, float *point )

FORTRAN SPECIFICATION

integer function cxGeoGridDefine(nu,nv,point)
integer nu
integer nv
real point(3, nu, nv)

PARAMETERS

nu
Number of grid samples in the u direction.
nv
Number of grid samples in the v direction.
point
An array of XYZ triples for grid sample coordinates.

DESCRIPTION

This function creates a grid, a two-dimensional surface regularly sampled in parameter space. There should be nu*nv grid sample coordinates in the array point with the nu index varying fastest.

The return value is a tag for this object that may be used to reference it at a later time with cxGeoFocus(3E).

Valid attributes are colors, normals, and transparencies. Attribute distribution may be CX_GEO_PER_OBJECT, CX_GEO_PER_FACE, CX_GEO_PER_VERTEX, or CX_GEO_PER_VERTEX_INDEXED.

SEE ALSO

cxGeoFocus(3E)
Last modified: Mon Nov 18 13:48:51 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996