Functions | |
HC_BOOLEAN | Compute_Circumsphere (const char *segment, HC_POINT *center, float *radius) |
HC_BOOLEAN | Compute_Circumsphere_By_Key (HC_KEY key, HC_POINT *center, float *radius) |
HC_BOOLEAN Compute_Circumsphere | ( | const char * | segment, | |
HC_POINT * | center, | |||
float * | radius | |||
) |
Returns points defining a sphere that circumscribes the geometry within a segment.
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. |
HC_BOOLEAN Compute_Circumsphere_By_Key | ( | HC_KEY | key, | |
HC_POINT * | center, | |||
float * | radius | |||
) |
Similar to Compute_Circumsphere(), but operates on an object referenced by an HC_KEY.
key | - Key of the segment or geometry to be used for the calcula tion. | |
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. |