## NAME

         print_mesh - print the data  of  a  mesh  structure  to  the
         screen

## SYNOPSIS

         #include "mesh.h" int print_mesh(struct mesh *inmesh);

## PATH

         $CVIPHOME/GEOMETRY/warp.c

## DESCRIPTION

         The print_mesh() print the coordinates of each node  in  the
         mesh  structure pointed to by "inmesh" node by node from the
         left to the right and row by row from the top to the bottom.

## TYPES AND CONSTANTS

         struct mesh_node {
              int x;
              int y;
         };

         struct mesh {
              int width;
              int height;
              struct mesh_node** nodes;
         };

         struct float_pair {
              float x;
              float y;
         };
         (e.g.)
         typedef ... newval;
         #define AVAL ...
         extern newval that;

## RETURN VALUES

         The print_mesh() returns 1 when succeeded and 0 when failed.

## EXAMPLE

         #include "mesh.h" #include <CVIPio.h>

         void main() {
              char           *inputfile;
              struct mesh    *inmesh;

              print_CVIP("0Input the mesh file name: ");
              inputfile = getString_CVIP();
              inmesh = file_to_mesh(inputfile);
              print_mesh(inmesh); }

## BUGS

         None at this time

## SEE ALSO

         file_to_mesh(),     keyboard_to_mesh(),      mesh_to_file(),
         display_mesh();

## AUTHOR

         Copyright (C) 1995 SIUE - by Scott Umbaugh and Jianxin Tan.