home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 545a.lha / bezier_v0.0001 / readme < prev    next >
Encoding:
Text File  |  1991-09-07  |  1.3 KB  |  54 lines

  1.                        BEZIER version 0.0001
  2.  
  3.  This code calculates an xy data set from the input of another xy data set
  4.  it uses a nth order bezier fit to do so.
  5.  
  6.  you will need a separate plotting utility to view your results
  7.  
  8.  the default format for input files uses an old VAX like format such as
  9.  
  10.  
  11.  
  12.  This is Dummy Data
  13.  you can place your comments here
  14.   DATA
  15.  1.00  35.22
  16.  2.00  23.77
  17.  3.00  21.99
  18.  4.00  56.97
  19.  etc.  etc.
  20.  
  21.  data sets may also be comma separated
  22.  in any case the program looks for keyword DATA to begin the read.
  23.  
  24.  options:
  25.  -nod  the program does not look for keyword DATA or write it to the output
  26.  <infile >outfile  program will read stdin and write to stdout
  27.  caution if using redirected stdin you must use stdout however if you give
  28.  a filename for input stdout can still be redirected.
  29.  
  30.  command template
  31.  bezier [-nod] <# BezPoints> [infile][outfile]
  32.  
  33.  examples
  34.  bezier 300 test.data zappa.dat
  35.  or
  36.  bezier 200 test.data >btest.dat
  37.  or
  38.  bezier 1000 <test.data >zod
  39.  or
  40.  bezier 1000 <test.data >zod -nod
  41.  
  42.  I reccomend those of you with math coprocessors uncomment #include <m68881.h>
  43.  and recompile this code and get
  44.  major speed improvements!!!
  45.  
  46.  IMPORTANT !!  with current #defines you will need about 70K stack!!!!!!!
  47.  
  48.  Have fun
  49.  
  50.  Chris Conger
  51.  3930 Smith Ave. SE
  52.  Albuquerque, NM 87108
  53.  505-842-7724
  54.