Brief Index      Full Index      I.M. Reference

Edit_PolyCylinder


Functions

void Edit_PolyCylinder (HC_KEY key, int p_count, const HC_POINT *pts, int r_count, const float *radii, const char *capping)

Function Documentation

void Edit_PolyCylinder ( HC_KEY  key,
int  p_count,
const HC_POINT *  pts,
int  r_count,
const float *  radii,
const char *  capping 
)

Edits a polycylinder as it sits in the database, without deleting and reinserting.

Parameters:
key - Key to a polycylinder object.
p_count - number of items in pts
pts - Vector of x-y-z triplets for the coordinates of the center of the polycylinder. (A simple N x 3 array may also be used.) Passed by reference always.
r_count - number of items in radii
radii - array of radius lengths as measured from the centerline
capping - string specifying which ends to cap, either "first", "second", "none", or "both"

DETAILS

A polycylinder is a multi-segmented cylinder that can have varying radii at the ends of each segment.

NOTES

This primitive can be used to create cones.

RESTRICTIONS

Any local vertex attributes will be thrown away if the polycylinder is edited.

See also:
Insert_PolyCylinder, Insert_Polyline

Main Index
Brief Index      Full Index      I.M. Functions