Functions | |
| HC_BOOLEAN | Filter_Circumsphere (const char *segment, const char *options, HC_POINT *center, float *radius) |
| HC_BOOLEAN | Filter_Circumsphere_By_Key (HC_KEY segKey, const char *options, HC_POINT *center, float *radius) |
| 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 |
Options acts as a temporary visibility setting at the starting segment for the purpose of this calculation. An empty options string corresponds to the default setting, "visibility = (everything=on)".
| 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 |