Functions | |
void | Insert_PolyCylinder (int p_count, const HC_POINT *pts, int r_count, const float *radii, const char *capping) |
void | QInsert_PolyCylinder (const char *segment, int p_count, const HC_POINT *pts, int r_count, const float *radii, const char *capping) |
HC_KEY | KInsert_PolyCylinder (int p_count, const HC_POINT *pts, int r_count, const float *radii, const char *capping) |
HC_KEY | QKInsert_PolyCylinder (const char *segment, int p_count, const HC_POINT *pts, int r_count, const float *radii, const char *capping) |
void 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" |
void QInsert_PolyCylinder | ( | const char * | segment, | |
int | p_count, | |||
const HC_POINT * | pts, | |||
int | r_count, | |||
const float * | radii, | |||
const char * | capping | |||
) |
Similar to Insert_PolyCylinder(), but operates on a given segment rather than the currently open one.
segment | - segment in which to insert the polycylinder | |
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" |
HC_KEY KInsert_PolyCylinder | ( | int | p_count, | |
const HC_POINT * | pts, | |||
int | r_count, | |||
const float * | radii, | |||
const char * | capping | |||
) |
Similar to Insert_PolyCylinder(), but returns an HC_KEY to the 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" |
HC_KEY QKInsert_PolyCylinder | ( | const char * | segment, | |
int | p_count, | |||
const HC_POINT * | pts, | |||
int | r_count, | |||
const float * | radii, | |||
const char * | capping | |||
) |
Similar to Insert_PolyCylinder(), but operates on a given segment and returns an HC_KEY to the object.
segment | - segment in which to insert the polycylinder | |
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" |