HC_Show_Mesh
-
void
HC_Show_Mesh(Key key, int *rows, int *columns, Point points[]) - void HC_Show_Mesh(Key key, int rows, int columns, Point points)
Returns the previous definition of a mesh, as referenced by a key.
Show_Mesh() reads back the x-y-z’s currently stored in a mesh. This is useful if your program is not storing its own copy of the mesh data. The key for the mesh might come from Show_Selection_Element() or Find_Contents() , or it might have been saved by your program when the mesh was created.
Use Show_Mesh_Size() to determine how large the points array is going to need to be, before you call Show_Mesh() .
Show_Partial_Mesh() is useful for looking at a portion of a mesh.
HC_Insert_Mesh, HC_Get_Selection, HC_Begin_Contents_Search, HC_Compute_Coordinates.Parameters
key: Unique numeric identifier pointing to a mesh in the database.
rows: Number of rows of vertices in the mesh. Returned to caller. Passed by reference always.
columns: Number of columns of vertices in the mesh. Returned to caller. Passed by reference always.
points: A rows x columns array of x-y-z triplets of the coordinates of the vertices of the mesh. You can also use a simple rows x 3 array of floats. A one-dimensional vector (with the entries packed row by row) may be used in place of the full 2-D/ 3-D array. Returned to caller. Passed by reference always.