runtime.h File Reference

#include <vector>
#include <qstring.h>
#include "value.h"
#include "image.h"

Go to the source code of this file.


namespace  std


class  Runtime


double dist (double x0, double y0, double x1, double y1)


Runtime runtime

Function Documentation

double dist double  x0,
double  y0,
double  x1,
double  y1

return the distance between the two points

Definition at line 2 of file aux.cpp.

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 }

Variable Documentation

Runtime runtime

Definition at line 199 of file runtime.cpp.

Referenced by IisCell::apply(), and IisCell::needs_user_input().

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