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, HCD_POINT *p1, HCD_POINT *p2, double *radius, char *cap)
 

Detailed Description

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,
HCD_POINT *  p1,
HCD_POINT *  p1,
double *  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.
See Also
DInsert_Cylinder

Brief Index      Full Index      Events Index      I.M. Reference