NAME

cxGeoSpheresDefine - define a set of spheres
#include <cx/Geometry.h>

cxGeo cxGeoSpheresDefine( int n, float *point, float *radius)
integer function cxGeoSpheresDefine(n, point, radius)
integer n
real point(3, n)
real radius(n)
n
Number of spheres.
point
An array of XYZ triples to be used as sphere centers.
radius
An array of sphere radii.
This function creates a set of spheres. For each sphere, an entry from point defines the center, and an entry from radius defines the radius.

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

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

The tessellation of the spheres for rendering may be changed from the default by calling cxGeoComplexityAdd(3E).

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