diff -r 7d67be709091 -r 4a84d7e444d8 geometry.cpp --- a/geometry.cpp Tue Sep 08 12:15:39 2009 +0000 +++ b/geometry.cpp Thu Jan 21 11:56:57 2010 +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 ()