Functions | |
HC_BOOLEAN | DFilter_Circumsphere (const char *segment, const char *options, HC_DPOINT *center, double *radius) |
Similar to Filter_Circumsphere(), but operates on double-precision data. More... | |
HC_BOOLEAN | DFilter_Circumsphere_By_Key (HC_KEY segKey, const char *options, HC_DPOINT *center, double *radius) |
Similar to Filter_Circumsphere(), but operates on double-precision data. More... | |
HC_BOOLEAN | Filter_Circumsphere (const char *segment, const char *options, HC_POINT *center, float *radius) |
Determines the bounding sphere for a particular segment, based visibility settings in the tree. More... | |
HC_BOOLEAN | Filter_Circumsphere_By_Key (HC_KEY segKey, const char *options, HC_POINT *center, float *radius) |
Similar to Filter_Circumsphere(), but operates on an object referenced by an HC_KEY. More... | |
HC_BOOLEAN DFilter_Circumsphere | ( | const char * | segment, |
const char * | options, | ||
HC_DPOINT * | center, | ||
double * | radius | ||
) |
Similar to Filter_Circumsphere(), but operates on double-precision data.
segment | - The segment that the bounding sphere should be calculated for. |
options | - The initial visibility settings that the segment should be considered to be inheriting |
center | - Center of the circumsphere |
radius | - Radius of the circumsphere |
HC_BOOLEAN DFilter_Circumsphere_By_Key | ( | HC_KEY | segKey, |
const char * | options, | ||
HC_DPOINT * | center, | ||
double * | radius | ||
) |
Similar to Filter_Circumsphere(), but operates on double-precision data.
segKey | - The key to the segment that the bounding sphere should be calculated for. |
options | - The initial visibility settings that the segment should be considered to be inheriting |
center | - Center of the circumsphere |
radius | - Radius of the circumsphere |
No additional details. See Filter_Circumsphere()
HC_BOOLEAN Filter_Circumsphere | ( | const char * | segment, |
const char * | options, | ||
HC_POINT * | center, | ||
float * | radius | ||
) |
Determines the bounding sphere for a particular segment, based visibility settings in the tree.
segment | - The segment that the bounding sphere should be calculated for. |
options | - The initial visibility settings that the segment should be considered to be inheriting |
center | - Center of the circumsphere |
radius | - Radius of the circumsphere |
This function behaves very similarly to Compute_Circumsphere() however you can also pass in additional parameters which affect the calculation of the bounding volume. These options include:
visibility [string]
This visiblity will be used as the starting set of visibility settings on the provided segment tree. An empty string corresponds to the default setting, "visibility = (everything=on)".
detailed
Honor the subshell visibility settings when determining the bounding volume.
minimal
Use best efforts to determine the tightest bounding volume.
HC_BOOLEAN Filter_Circumsphere_By_Key | ( | HC_KEY | segKey, |
const char * | options, | ||
HC_POINT * | center, | ||
float * | radius | ||
) |
Similar to Filter_Circumsphere(), but operates on an object referenced by an HC_KEY.
segKey | - The key to the segment that the bounding sphere should be calculated for. |
options | - The initial visibility settings that the segment should be considered to be inheriting |
center | - Center of the circumsphere |
radius | - Radius of the circumsphere |
No additional details. See Filter_Circumsphere()