Functions | |
void | Compute_Face_Neighborhood (HC_KEY shell_key, int face_index, int *count, int *neighbors) |
Returns the indices of the faces within a shell that share an edge with the specified face. More... | |
void | Compute_Face_Neighborhood_Size (HC_KEY shell_key, int face_index, int *count) |
Returns the number of faces within a shell that share an edge with the specified face. More... | |
void Compute_Face_Neighborhood | ( | HC_KEY | shell_key, |
int | face_index, | ||
int * | count, | ||
int * | neighbors | ||
) |
Returns the indices of the faces within a shell that share an edge with the specified face.
shell_key | - Key to the shell in which the faces reside. |
face_index | - The index of the face within the shell's facelist for which to calculate the neighbors. |
count | - Number of faces that share an edge with the supplied face. Passed by reference. Returned to caller. |
neighbors | - Array of indices into the shell's facelist, specifying the faces that share an edge with the supplied face. Passed by reference. Returned to caller. |
Developers can use this API to determine the facets within a shell that are connected. This can often be used to help determine the features within a particular shell.
The API will not return faces that share an edge with more than one other face. Also, this API is only supported for shell geometry.
void Compute_Face_Neighborhood_Size | ( | HC_KEY | shell_key, |
int | face_index, | ||
int * | count | ||
) |
Returns the number of faces within a shell that share an edge with the specified face.
shell_key | - Key to the shell in which the faces reside. |
face_index | - The index of the face within the shell's facelist for which to calculate the neighbors. |
count | - Number of faces that share an edge with the supplied face. Passed by reference. Returned to caller. |
Returns the size of the data structure that is needed as input to Compute_Face_Neighborhood().