home *** CD-ROM | disk | FTP | other *** search
- BEZIER version 0.0001
-
- This code calculates an xy data set from the input of another xy data set
- it uses a nth order bezier fit to do so.
-
- you will need a separate plotting utility to view your results
-
- the default format for input files uses an old VAX like format such as
-
-
-
- This is Dummy Data
- you can place your comments here
- DATA
- 1.00 35.22
- 2.00 23.77
- 3.00 21.99
- 4.00 56.97
- etc. etc.
-
- data sets may also be comma separated
- in any case the program looks for keyword DATA to begin the read.
-
- options:
- -nod the program does not look for keyword DATA or write it to the output
- <infile >outfile program will read stdin and write to stdout
- caution if using redirected stdin you must use stdout however if you give
- a filename for input stdout can still be redirected.
-
- command template
- bezier [-nod] <# BezPoints> [infile][outfile]
-
- examples
- bezier 300 test.data zappa.dat
- or
- bezier 200 test.data >btest.dat
- or
- bezier 1000 <test.data >zod
- or
- bezier 1000 <test.data >zod -nod
-
- I reccomend those of you with math coprocessors uncomment #include <m68881.h>
- and recompile this code and get
- major speed improvements!!!
-
- IMPORTANT !! with current #defines you will need about 70K stack!!!!!!!
-
- Have fun
-
- Chris Conger
- 3930 Smith Ave. SE
- Albuquerque, NM 87108
- 505-842-7724
-