Brief Index      Full Index      Events Index      I.M. Reference

Show_Bounding_Sphere

Functions

HC_BOOLEAN Show_Bounding_Sphere (HC_POINT *center, float *radius)
 
HC_BOOLEAN DShow_Bounding_Sphere (HC_DPOINT *center, double *radius)
 
HC_BOOLEAN Show_Bounding_Sphere_By_Key (HC_KEY key, HC_POINT *center, float *radius)
 
HC_BOOLEAN DShow_Bounding_Sphere_By_Key (HC_KEY key, HC_DPOINT *center, double *radius)
 

Detailed Description

Function Documentation

HC_BOOLEAN Show_Bounding_Sphere ( HC_POINT center,
float *  radius 
)

Returns the sphere used by HOOPS to circumscribe the geometry within a segment.

Parameters
center- The center position of a sphere that encompasses point the geometry contained within the segment. Returned to user. Passed by reference in all languages.
radius- The radius length of a sphere that encompasses the geometry contained within the segment.
Returns

DETAILS

See the discussion for Show_Bounding_Cuboid() . As one could guess from the name, the only difference is that the volume for Show_Bounding_Sphere() is expressed as a sphere instead of a cuboid.

NOTES

RESTRICTIONS

See Also
Compute_Circumsphere, Compute_Coordinates, Compute_Transform, Define_System_Options, Set_Bounding_Sphere, Show_Bounding_Info, Show_Bounding_Cuboid, UnSet_Bounding_Volume.
HC_BOOLEAN DShow_Bounding_Sphere ( HC_DPOINT *  center,
double *  radius 
)

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

Parameters
center- The center position of a sphere that encompasses point the geometry contained within the segment. Returned to user. Passed by reference in all languages.
radius- The radius length of a sphere that encompasses the geometry contained within the segment.
Returns
HC_BOOLEAN Show_Bounding_Sphere_By_Key ( HC_KEY  key,
HC_POINT center,
float *  radius 
)

Similar to Show_Bounding_Sphere(), but operates on an object referenced by an HC_KEY.

Parameters
key- Key of the segment to use.
center- The center position of a sphere that encompasses point the geometry contained within the segment. Returned to user. Passed by reference in all languages.
radius- The radius length of a sphere that encompasses the geometry contained within the segment.
Returns

DETAILS

No additional details. See Show_Bounding_Sphere()

HC_BOOLEAN DShow_Bounding_Sphere_By_Key ( HC_KEY  key,
HC_DPOINT *  center,
double *  radius 
)

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

Parameters
key- Key of the segment to use.
center- The center position of a sphere that encompasses point the geometry contained within the segment. Returned to user. Passed by reference in all languages.
radius- The radius length of a sphere that encompasses the geometry contained within the segment.
Returns

Brief Index      Full Index      Events Index      I.M. Reference