NAME

cxGeoLinesDefine - define a line set object
#include <cx/Geometry.h>

cxGeo cxGeoLinesDefine( int npoint, float *point, int nindex, int *index )
integer function cxGeoLinesDefine(npoint, point, nindex, index)
integer npoint
real point(3, npoint)
integer nindex
integer index(nindex)
npoint
Number of points.
point
An array of XYZ triples for vertices.
nindex
Number of indices.
index
Indices into the points array.
This function creates a set of unclosed polylines. The vertices are supplied in point and their connectivity is given in index.

Indexing of vertices is zero-based, i.e. the first vertex is referenced by index 0, and the last by npoint - 1. A -1 index indicates the end of a polyline.

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 and transparencies. Attribute distribution may be CX_GEO_PER_OBJECT, CX_GEO_PER_VERTEX, or CX_GEO_PER_VERTEX_INDEXED.

cxGeoFocus(3E)
Last modified: Mon Nov 6 16:33:15 GMT 2000
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1999