HC_DInsert_PolyCylinder
-
Key
HC_DInsert_PolyCylinder(int p_count, DPoint const pts[], int r_count, double const radii[], char const *capping) - Key HC_DInsert_PolyCylinder(int p_count, DPoint const pts, int r_count, double const radii, char const capping)
Similar to Insert_PolyCylinder(), but operates on double-precision data.
Parameters
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”
Returns
The key to the inserted geometry, or -1 if an error occurred.