User_Shell

Functions

HIC_Polyhedron const * HIC_New_User_Shell
void HIC_Free_User_Shell

Detailed Description

group User_Shell

Function Documentation

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[])

This function allocates memory associated with a polyhedron data structure.

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.

void HIC_Free_User_Shell(HIC_Polyhedron const *user_shell)

This function frees memory associated with a polyhedron data structure.

Parameters:user_shell – A pointer to a const HIC_Polyhedron.