Brief Index      Full Index      Events Index      I.M. Reference

Show_Sphere


Functions

void Show_Sphere (HC_KEY key, HC_POINT *center, float *radius, HC_POINT *axis, HC_POINT *ortho)
void DShow_Sphere (HC_KEY key, HCD_POINT *center, double *radius, HC_DVECTOR *axis, HC_DVECTOR *ortho)

Function Documentation

void Show_Sphere ( HC_KEY  key,
HC_POINT *  center,
float *  radius,
HC_POINT *  axis,
HC_POINT *  ortho 
)

Returns the parameters of a sphere, as defined in a previous call to Insert_Sphere().

Parameters:
key - Key to a sphere.
center - An x-y-z triplet for the coordinates of center the sphere. Passed by reference. Returned to user.
radius - Length of the radius of the sphere. Passed by reference. Returned to user.
axis - Vector that points in the longtitudal/vertical direction. Passed by reference. Returned to user.
ortho - Vector that points in the latitudal/horizontal direction. Passed by reference. Returned to user.

DETAILS

The sphere primitive is tesselated at draw time which can greatly reduce the memory footprint of an application in which spheres are widely used. The tesselation of the sphere is controlled by the "sphere" option within the "tesselation" Rendering_Option.

See also:
Insert_Sphere, Insert_Circle, Insert_Ellipse, Insert_Circular_Arc, Insert_Circular_Chord, Insert_Circular_Wedge, Insert_Elliptical_Arc, Insert_Polygon, Set_Visibility, Set_Edge_Pattern, Set_Edge_Weight, Set_Face_Pattern, Set_Color, Renumber_Key.

void DShow_Sphere ( HC_KEY  key,
HCD_POINT *  center,
double *  radius,
HC_DVECTOR *  axis,
HC_DVECTOR *  ortho 
)

Brief Index      Full Index      Events Index      I.M. Reference