HC_Compute_Face_Neighborhood

void HC_Compute_Face_Neighborhood(Key shell_key, int face_index, int *count, int neighbors[])
void HC_Compute_Face_Neighborhood(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.

HC_Show_Shell, HC_Generate_Shell_From_Geometry

Parameters

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.