NAME

cxGeoSpheresDefine - define a set of spheres

C SPECIFICATION

#include <cx/Geometry.h>

cxGeo cxGeoSpheresDefine( int n, float *point, float *radius)

FORTRAN SPECIFICATION

integer function cxGeoSpheresDefine(n, point, radius)
integer n
real point(3, n)
real radius(n)

PARAMETERS

n
Number of spheres.
point
An array of XYZ triples to be used as sphere centers.
radius
An array of sphere radii.

DESCRIPTION

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).

SEE ALSO

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