NAME

cxGeoCylindersDefine - define a set of cylinders
#include <cx/Geometry.h>

cxGeo cxGeoCylindersDefine( int n, float *point0, float *point1, float *radius)
integer function cxGeoCylindersDefine(n,point0,point1,radius)
integer n
real point0(3, n)
real point1(3, n)
real radius(n)
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.
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.

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