HC_Compute_Subshell
-
Key
HC_Compute_Subshell(Key source, int keep_fcount, int const keep_faces[], int keep_pcount, int const keep_pts1[], int const keep_pts2[], int face_map[], int pts_map[]) - Key HC_Compute_Subshell(Key source, int keep_fcount, int const keep_faces, int keep_pcount, int const keep_pts1, int const keep_pts2, int face_map, int pts_map)
Creates a subshell from the source shell or mesh in the currently open segment and subject to the specified criteria.
HC_Show_Selection_ElementsParameters
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. Can be padded by -1’s.
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.