NAME

cxGeoCylindersDefine - define a set of cylinders

C SPECIFICATION

#include <cx/Geometry.h>

cxGeo cxGeoCylindersDefine( int n, float *point0, float *point1, float *radius)

FORTRAN SPECIFICATION

integer function cxGeoCylindersDefine(n,point0,point1,radius)
integer n
real point0(3, n)
real point1(3, n)
real radius(n)

PARAMETERS

n
Number of cylinders.
point0
An array of XYZ triples to be used for initial endpoints.
point1
An array of XYZ triples to be used for final endpoints.
radius
An array of cylinder radii.

DESCRIPTION

This function creates a set of n capped cylinders. For each cylinder, an entry from point0 marks one endpoint, an entry from point1 marks the other endpoint, and an entry from radius determines the radius.

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

Cylinders may be given color or transparency attributes. Valid attribution distribution is CX_GEO_PER_OBJECT only.

SEE ALSO

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