Show_Cylinder
Functions | |
void | DShow_Cylinder (HC_KEY key, HC_DPOINT *p1, HC_DPOINT *p2, double *radius, char *cap) |
Similar to Show_Cylinder(), but operates on double-precision data. More... | |
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. More... | |
Detailed Description
Function Documentation
◆ DShow_Cylinder()
void DShow_Cylinder | ( | HC_KEY | key, |
HC_DPOINT * | p1, | ||
HC_DPOINT * | p2, | ||
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
◆ Show_Cylinder()
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