diff -r 7d67be709091 -r b163492fda17 geometry.cpp --- a/geometry.cpp Tue Sep 08 12:15:39 2009 +0000 +++ b/geometry.cpp Wed Nov 25 15:27:22 2009 +0000 @@ -88,6 +88,11 @@ setY (-y()); } +QPointF Vector::toQPointF () +{ + return QPointF (x(),y()); +} + /*! Calculate the projection of a polygon on an axis and returns it as a [min, max] interval */ ConvexPolygon::ConvexPolygon ()