Functions | |
void | Edit_PolyCylinder (HC_KEY key, int p_count, const HC_POINT *pts, int r_count, const float *radii, const char *capping) |
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.
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" |
A polycylinder is a multi-segmented cylinder that can have varying radii at the ends of each segment.
This primitive can be used to create cones.
Any local vertex attributes will be thrown away if the polycylinder is edited.