Functions | |
HC_BOOLEAN | Filter_Circumcuboid (const char *segment, const char *options, HC_POINT *min, HC_POINT *max) |
HC_BOOLEAN | Filter_Circumcuboid_By_Key (HC_KEY segKey, const char *options, HC_POINT *min, HC_POINT *max) |
HC_BOOLEAN Filter_Circumcuboid | ( | const char * | segment, | |
const char * | options, | |||
HC_POINT * | min, | |||
HC_POINT * | max | |||
) |
Determines the bounding cuboid for a particular segment, based on visibility settings in the segment tree.
segment | - The segment that the bounding box should be calculated for. | |
options | - The initial visibility settings that the segment should be considered to be inheriting | |
min | - Lower left corner of the bounding cuboid. Returned to the user. | |
max | - Upper right corner of the bounding cuboid. Returned to the user. |
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_Circumcuboid_By_Key | ( | HC_KEY | segKey, | |
const char * | options, | |||
HC_POINT * | min, | |||
HC_POINT * | max | |||
) |
Similar to Filter_Circumcuboid(), but operates on an object referenced by an HC_KEY.
segKey | - The key to the segment that the bounding box should be calculated for. | |
options | - The initial visibility settings that the segment should be considered to be inheriting | |
min | - Lower left corner of the bounding cuboid. Returned to the user. | |
max | - Upper right corner of the bounding cuboid. Returned to the user. |