Functions | |
HC_KEY | Compute_Subshell (HC_KEY source, int keep_fcount, const int *keep_faces, int keep_pcount, const int *keep_pts1, const int *keep_pts2, int *face_map, int *pts_map) |
HC_KEY Compute_Subshell | ( | HC_KEY | source, | |
int | keep_fcount, | |||
const int * | keep_faces, | |||
int | keep_pcount, | |||
const int * | keep_pts1, | |||
const int * | keep_pts2, | |||
int * | face_map, | |||
int * | pts_map | |||
) |
Creates a subshell from the source shell in the currently open segment and subject to the specified criteria.
source | - Key of a shell or mesh. | |
keep_fcount | - The number of entries in the keep_faces array. | |
keep_faces | - An array of face numbers from the source shell that should appear in the subshell. Can be padded by -1's. | |
keep_pcount | - The number of entries in the keep_pts1 and keep_pts2 arrays. | |
keep_pts1 | - An array of vertex numbers that should appear in the subshell. | |
keep_pts2 | - An array of vertex numbers that, along with the corresponding vertex in keep_pts1 define an edge that should appear in the subshell. Can be padded by -1's. | |
face_map | - An array that maps faces from the source shell to the subshell. It should be large enough to accommodate one entry for each face in the source shell. Returned to the user. | |
pts_map | - An array that maps vertices from the source shell to the subshell. It should be large enough to accommodate one entry for each vertex in the source shell. Returned to the user. |