HC_Edit_Mesh

void HC_Edit_Mesh(Key key, int row_offset, int column_offset, int row_count, int column_count, Point const points[])
void HC_Edit_Mesh(Key key, int row_offset, int column_offset, int row_count, int column_count, Point const points)

Modifies one, some, or all of the vertex values in a previously-inserted mesh.

Edit_Mesh() lets you modify a large mesh as it sits in the database. You don’t have to delete it or flush the segment and reinsert the mesh from scratch.

Edit_Mesh() operates on a rectangular sub-region of the original mesh, and replaces all the point values in that region with new ones.

It is not possible to change the size of a mesh except by starting over.

HC_Insert_Mesh, HC_Edit_Shell_Points, HC_Flush_Contents, HC_Delete_By_Key.

Parameters

key: The numeric identifier returned by a previous call to Insert_Mesh() .

row_offset: Row offset from the origin of the original mesh at which to begin editing.

column_offset: Column offset from the origin of the original mesh at which to begin editing.

row_count: The number of rows of mesh data to be changed. The change area is between vertex ( row_offset, column_offset) and vertex ( row_offset + row_count- 1, column_offset + column_count - 1), inclusive.

column_count: The number of columns of mesh data to be changed. The change area is between vertex ( row_offset, column_offset) and vertex ( row_offset + row_count - 1, column_offset + column_count- 1), inclusive.

points: A [row_count x column_count] array of x-y-z triplets of the coordinates of the vertices of the mesh. You can also use a simple [row_count x column_count x 3] array of floats. A one-dimensional vector of floats (with the entries packed row by row) may be used in place of the full 2-D/3-D . Passed by reference always.