Functions | |
HC_BOOLEAN | Compute_Circumsphere (const char *segment, HC_POINT *center, float *radius) |
Returns points defining a sphere that circumscribes the geometry within a segment. More... | |
HC_BOOLEAN | DCompute_Circumsphere (const char *segment, HC_DPOINT *center, double *radius) |
Similar to Compute_Circumsphere(), but operates on double-precision data. More... | |
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. More... | |
HC_BOOLEAN | DCompute_Circumsphere_By_Key (HC_KEY key, HC_DPOINT *center, double *radius) |
Similar to Compute_Circumsphere_By_Key(), but operates on double-precision data. More... | |
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. |
The volume for Compute_Circumsphere() is a sphere instead of a cuboid. For more information refer to the discussion for Compute_Circumcuboid() .
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 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. |
No additional details. See Compute_Circumsphere()
HC_BOOLEAN DCompute_Circumsphere | ( | const char * | segment, |
HC_DPOINT * | center, | ||
double * | radius | ||
) |
Similar to Compute_Circumsphere(), but operates on double-precision data.
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 DCompute_Circumsphere_By_Key | ( | HC_KEY | key, |
HC_DPOINT * | center, | ||
double * | radius | ||
) |
Similar to Compute_Circumsphere_By_Key(), but operates on double-precision data.
key | - Key of the segment or geometry to be used 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. |
No additional details. See Compute_Circumsphere_By_Key()