aux.cpp

Go to the documentation of this file.
00001 #include "aux.h"
00002 double dist(double x0, double y0, double x1, double y1)
00003 {
00004   double x = x1-x0;
00005   double y = y1-y0;
00006   x*=x;
00007   y*=y;
00008   double d = x+y;
00009   d = (double) (sqrt(d) + 1);
00010   return d;
00011 }

Generated on Mon Jun 5 22:08:41 2006 for iis by  doxygen 1.4.6