HC_Show_Cellular_Volume
-
void
HC_Show_Cellular_Volume(Key key, int *pcount, Point points[], int *flist_length, int face_list[]) - void HC_Show_Cellular_Volume(Key key, int pcount, Point points, int flist_length, int face_list)
Returns the previous definition of a cellular volume, as referenced by a key.
Show_Cellular_Volume() reads back the x-y-z’s currently stored in a cellular volume. This is useful if your program is not storing its own copy of the shell data. The key for the shell might come from Show_Selection_Element() or Find_Contents(), or it might have been saved by your program when the shell was created.
Use Show_Cellular_Volume_Size() to determine how large the points and face_list arrays are going to be, before you actually call Show_Cellular_Volume() .
Similar to Show_Cellular_Volume() , Show_Partial_Cellular_Volume() is used to read back the x-y-z’s currently stored in a shell. However, the user can limit the part of the shell to examine, so that less memory (and time) is required for the operation.
Use Show_Partial_Cellular_Volume_Size() to determine the minimum size of the points and face_list arrays, before you actually call Show_Partial_Shell().
HC_Insert_Shell, HC_Get_Selection, HC_Open_Geometry, HC_Open_LOD, HC_Begin_Contents_Search, HC_Compute_Coordinates, HC_Open_GeometryParameters
key: - Unique numeric identifier pointing to a cellular volume in the database.
pcount: - Number of valid points in points. Returned to caller. Passed by reference always.
points: - Vector of x-y-z triplets for the coordinates of the vertices to be used to build the volume. (A simple N x 3 array may also be used.) Returned to caller. Passed by reference always.
clist_length: - Total number of integers in cell_list. Returned to caller. Passed by reference always.
cell_list: - Encoded description of how to connect the points to build the cells of the volume. Returned to caller. Passed by reference always.