Brief Index      Full Index      I.M. Reference

Show_Bounding_Sphere


Functions

HC_BOOLEAN Show_Bounding_Sphere (HC_POINT *center, float *radius)
HC_BOOLEAN QShow_Bounding_Sphere (const char *segment, HC_POINT *center, float *radius)
HC_BOOLEAN Show_Bounding_Sphere_By_Key (HC_KEY key, HC_POINT *center, float *radius)

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 QShow_Bounding_Sphere ( const char *  segment,
HC_POINT *  center,
float *  radius 
)

Similar to Show_Bounding_Sphere(), but operates on a given segment rather than the currently open one.

Parameters:
segment - Segment name 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 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()

Main Index
Brief Index      Full Index      I.M. Functions