User_Shell
Functions | |
HC_EXTERNAL HIC_API void | HIC_Free_User_Shell (HIC_Polyhedron const *user_shell) |
HC_EXTERNAL HIC_API HIC_Polyhedron const * | HIC_New_User_Shell (int point_count, HIC_Point const points[], HIC_Vector const normals[], int face_list_length, int face_list[]) |
Detailed Description
Function Documentation
◆ HIC_Free_User_Shell()
HC_EXTERNAL HIC_API void HIC_Free_User_Shell | ( | HIC_Polyhedron const * | user_shell | ) |
- Parameters
-
user_shell A pointer to a const HIC_Polyhedron.
This function frees memory associated with a polyhedron data structure.
◆ HIC_New_User_Shell()
HC_EXTERNAL HIC_API HIC_Polyhedron const* HIC_New_User_Shell | ( | int | point_count, |
HIC_Point const | points[], | ||
HIC_Vector const | normals[], | ||
int | face_list_length, | ||
int | face_list[] | ||
) |
- Parameters
-
point_count An int representing the number of points in the points array. points A pointer to a const HIC_Point. normals A pointer to a const HIC_Vector. face_list_length An int. face_list A pointer to an int.
- Returns
- A pointer to a const HIC_Polyhedron.
This function allocates memory associated with a polyhedron data structure.