Functions | |
HC_KEY | Insert_PolyCylinder (int p_count, const HC_POINT *pts, int r_count, const float *radii, const char *capping) |
HC_KEY Insert_PolyCylinder | ( | int | p_count, | |
const HC_POINT * | pts, | |||
int | r_count, | |||
const float * | radii, | |||
const char * | capping | |||
) |
Create a polycylinder from a 3d-array of points and an array of radii.
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" |