Function
Produces a tube of specified diameter from a path or group of paths in a specified Object.
Syntax
#include <dx/dx.h>
Object DXTube(Object o, double diameter, int n)
Functional Details
The cross section of the tube is an n-gon in a plane parallel to the normal and perpendicular to the tangent at each point on the path, where the normals are provided by a "normals" component if present or approximated from the path otherwise. Normals to the tube are computed and associated with the tube for shading.
For more information, see Tube in IBM Visualization Data Explorer User's Reference. See also 4.2 , "Memory Management".
Return Value
Returns the tube or returns NULL and sets an error code.
See Also
[Data Explorer Home Page | Contact Data Explorer | Same document on Data Explorer Home Page ]