Function
Produces a ribbon of the given width from a path or group of paths.
Syntax
#include <dx/dx.h>
Object DXRibbon(Object o, double width)
Functional Details
Produces a ribbon of the width width from a path or group of paths in Object o. The ribbon is perpendicular to the normal and parallel to the tangent at each point on the path, where the normals are provided by the "normals" component if present or approximated from the path otherwise. The normals (given or computed) are translated to the generated vertices and associated with the ribbon for shading. If the direction of the normals changes too rapidly, breaks in the ribbon may occur.
For additional details on ribbons, see Ribbon in IBM Visualization Data Explorer User's Reference.
Return Value
Returns the ribbon, or returns NULL and sets the error code to indicate an error.
See Also
[Data Explorer Home Page | Contact Data Explorer | Same document on Data Explorer Home Page ]