HC_Show_Cylinder

void HC_Show_Cylinder(Key key, Point *p1, Point *p2, float *radius, char *cap)
void HC_Show_Cylinder(Key key, Point p1, Point p2, float radius, char cap)

Returns the previous definition of a cylinder, as referenced by a key.

Cylinders are specified with two points and a radius, plus an options string to specify which, if any, of the end caps are to be drawn. The options string has only four legal values: “none”, “first”, “second” and “both”.

HC_Insert_Cylinder

Parameters

key: The unique identifier returned by a previous call to Insert_Cylinder()

p1: Center of the first end of the cylinder. Returned to user. Passed by reference always.

p2: Center of the second end of the cylinder. Returned to user. Passed by reference always.

radius: Radius of the cylinder. Returned to user. Passed by reference always.

cap: String specifying which ends to cap, either “first”, “second”, or “both”. Returned to user. Passed by reference always.