Brief Index      Full Index      Events Index      I.M. Reference

Set_Bounding_Sphere

Functions

void Set_Bounding_Sphere (const HC_POINT *center, double radius)
void DSet_Bounding_Sphere (const HC_DPOINT *center, double radius)
void Set_Bounding_Sphere_By_Key (HC_KEY key, const HC_POINT *center, double radius)

Function Documentation

void Set_Bounding_Sphere ( const HC_POINT *  center,
double  radius 
)

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

Parameters:
center- The center position of a sphere that point encompasses the geometry contained with the segment. Passed by reference in all languages.
radius- The radius length of a sphere that encompasses the geometry contained with the segment.

DETAILS

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

NOTES

RESTRICTIONS

See also:
Compute_Circumsphere, Compute_Coordinates, Compute_Transform, Show_Bounding_Info, Set_Bounding_Cuboid, Show_Bounding_Sphere, Unset_Bounding_Volume.
void DSet_Bounding_Sphere ( const HC_DPOINT *  center,
double  radius 
)

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

Parameters:
center- The center position of a sphere that point encompasses the geometry contained with the segment. Passed by reference in all languages.
radius- The radius length of a sphere that encompasses the geometry contained with the segment.
void Set_Bounding_Sphere_By_Key ( HC_KEY  key,
const HC_POINT *  center,
double  radius 
)

Similar to Set_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 point encompasses the geometry contained with the segment. Passed by reference in all languages.
radius- The radius length of a sphere that encompasses the geometry contained with the segment.

DETAILS

No additional details. See Set_Bounding_Sphere()

Brief Index      Full Index      Events Index      I.M. Reference