Parallel Surface MinneView Data-File Generation by Adrian Mariano email adrian@u.washington.edu This package was developed during the Summer of 1991 when I attended an NSF sponsored summer research. A paper describing the various curves should be available from the Geometry Center (geom.umn.edu). ParallelSurfacesFile.m ParallelSurfacesFile[{fx,fy,fz}, {u, umin, umax, ucount}, {v, vmin, vmax, vcount}, {tmin, tmax, tcount}, name] Produces a C header file 'defs.h' which defines bounds, and functions for generating the parallel surfaces to the specified surface. The variable name is a string variable which is used as the suffix by the C program for the data files it produces. Here is a sample defs.h file: #define TMIN 0. #define TSTEP -0.666667 #define TCOUNT 10 #define UMIN 0.01 #define USTEP 0.0620035 #define UCOUNT 51 #define VMIN 0. #define VSTEP 0.125664 #define VCOUNT 51 #define NAME "ellipsoid" #define F1(u, v, t) 10*Cos(v)*Sin(u).... #define F2(u, v, t) 6*Sin(u)*Sin(v) .... #define F3(u, v, t) 6*Cos(u) + t*(60*Cos(u)*Power .... The program makedata.c, included with this package, will use these header files to generate data for MinneView. Check fcns.h to insure that any functions like "Cos" or "Power" are #defined, and then compile and run. If you supply 'uwrap' or 'vwrap' on the command line, the program will indicate to MinneView that the mesh is wrapped in the u, or v directions respectively. This function is not in a package, because placing it in a package interfered with normal operation.