changeset 656 | 53ef954e90b6 |
parent 650 | 65c5a0c28d20 |
child 662 | 9abdd5e6c3dc |
1.1 --- a/geometry.h Tue Jan 15 10:54:41 2008 +0000 1.2 +++ b/geometry.h Wed Jan 16 15:45:19 2008 +0000 1.3 @@ -1,10 +1,13 @@ 1.4 #ifndef GEOMETRY_H 1.5 #define GEOMETRY_H 1.6 1.7 +#include <QPointF> 1.8 #include <QRectF> 1.9 +#include <QPolygonF> 1.10 1.11 QRectF addBBox(QRectF r1, QRectF r2); 1.12 bool inBox(const QPointF &p, const QRectF &box); 1.13 1.14 +QPointF normalize (const QPointF &p); 1.15 1.16 #endif