#ifndef SUPERVGUI_BrowseNodeDlg_H
#define SUPERVGUI_BrowseNodeDlg_H
+using namespace std;
#include <qdialog.h>
#include "SUPERVGUI_Def.h"
#include "SUPERVGUI_Port.h"
x = x * x;
int y = y2 - y1;
y = y * y;
- return (int) sqrt(x + y);
+ return (int) sqrt(double(x + y));
}
r = r * r;
s = py - ly;
s = s * s;
- a = (int) sqrt(r + s);
+ a = (int) sqrt(double(r + s));
r = px - nx;
r = r * r;
s = py - ny;
s = s * s;
- b = (int) sqrt(r + s);
+ b = (int) sqrt(double(r + s));
r = nx - lx;
r = r * r;
s = ny - ly;
s = s * s;
- c = (int) sqrt(r + s);
+ c = (int) sqrt(double(r + s));
return (a+b-c);
}
#ifndef SUPERVGUI_Link_H
#define SUPERVGUI_Link_H
+using namespace std;
#include "SUPERVGUI_Def.h"
#include "SUPERVGUI_Port.h"
#include <qvaluevector.h>