geometry.h
changeset 824 36eb4b8f409e
parent 798 d251c7b2de54
child 835 31841b366d5e
     1.1 --- a/geometry.h	Fri Feb 19 13:47:03 2010 +0000
     1.2 +++ b/geometry.h	Thu Feb 25 11:03:52 2010 +0000
     1.3 @@ -5,6 +5,7 @@
     1.4  
     1.5  QRectF addBBox(QRectF r1, QRectF r2);
     1.6  bool isInBox(const QPointF &p, const QRectF &box);
     1.7 +qreal distance (const QPointF &p, const QPointF &q);
     1.8  
     1.9  
    1.10  class Vector:public QPointF