HC_Edit_PolyCylinder

void HC_Edit_PolyCylinder(Key key, int p_count, Point const pts[], int r_count, float const radii[], char const *capping)
void HC_Edit_PolyCylinder(Key key, int p_count, Point const pts, int r_count, float const radii, char const capping)

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

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.

HC_Insert_PolyCylinder, HC_Insert_Polyline

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”