diff -r 0bba81dde1bc -r 36eb4b8f409e geometry.h --- a/geometry.h Fri Feb 19 13:47:03 2010 +0000 +++ b/geometry.h Thu Feb 25 11:03:52 2010 +0000 @@ -5,6 +5,7 @@ QRectF addBBox(QRectF r1, QRectF r2); bool isInBox(const QPointF &p, const QRectF &box); +qreal distance (const QPointF &p, const QPointF &q); class Vector:public QPointF