surfmap_set_origmesh
surfmap_set_origmesh
Sets the original grid data.
Interface definition
extern "C" __declspec(dllimport) bool surfmap_set_origmesh(double* xScat, double* yScat, double* zScat, int nodesize, int(*elems)[4], int elemsize)
Interface parameters
- double* xScat : x-coordinate of grid vertex;
- double* yScat : y-coordinate of grid vertex;
- double* zScat x-coordinate of the top of the grid;
- int nodesize: Number of grid vertes;
- int (*elems)[4]: Grid cell expressed in the vertex index number, which expresses the sprawl connection data, and in the case of a triangle, the last one is 1;
- int elemsize: Number of grid units;
Return value
true success;face failed