HC_Compute_Circumsphere

bool HC_Compute_Circumsphere(char const *segment, Point *center, float *radius)
bool HC_Compute_Circumsphere(char const segment, Point center, float radius)

Returns points defining a sphere that circumscribes the geometry within a segment.

HC_Compute_Circumcuboid, HC_Compute_Coordinates, HC_Compute_Transform, HC_Show_Bounding_Info, HC_Show_Bounding_Cuboid, HC_Show_Bounding_Sphere.

Parameters

segment: Segment name to use for the calculation.

center: The center position of a sphere that encompasses the geometry contained within the segment. Returned to user. Passed by reference in all languages.

radius: The radius length of the encompassing sphere. Returned to user. Passed by reference in all languages.

Returns

success