1 /**************************************************************************
2 * mesh.h -- data structures and routines for processing terrain meshes
4 * Written by Curtis Olson, started May 1997.
7 * (Log is kept at end of this file)
8 **************************************************************************/
16 /* start coordinates (in arc seconds) */
17 double originx, originy;
19 /* number of rows and columns */
22 /* Distance between row and column data points (in arc seconds) */
23 double row_step, col_step;
25 /* pointer to the actual mesh data dynamically allocated */
28 /* a temporary values for the parser to use */
34 /* return a pointer to a new mesh structure (no data array allocated yet) */
35 struct mesh *(new_mesh)();
37 /* return a pointer to a dynamically allocated array */
38 float *(new_mesh_data)(int nrows, int ncols);
40 /* set the option name in the mesh data structure */
41 void mesh_set_option_name(struct mesh *m, char *name);
43 /* set an option value in the mesh data structure */
44 void mesh_set_option_value(struct mesh *m, char *value);
50 /* Revision 1.1 1997/05/16 16:07:05 curt