Brief Index      Full Index      Events Index      I.M. Reference

Show_Cylinder


Functions

void Show_Cylinder (HC_KEY key, HC_POINT *p1, HC_POINT *p2, float *radius, char *cap)
void DShow_Cylinder (HC_KEY key, HC_DPOINT *p1, HC_DPOINT *p2, double *radius, char *cap)

Function Documentation

void Show_Cylinder ( HC_KEY  key,
HC_POINT *  p1,
HC_POINT *  p2,
float *  radius,
char *  cap 
)

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

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.

DETAILS

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".

NOTES

RESTRICTIONS

See also:
Insert_Cylinder

void DShow_Cylinder ( HC_KEY  key,
HC_DPOINT *  p1,
HC_DPOINT *  p1,
double *  radius,
char *  cap 
)

Similar to Show_Cylinder(), but operates on double-precision data.

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.
See also:
DInsert_Cylinder

Brief Index      Full Index      Events Index      I.M. Reference