diff -r 7d67be709091 -r 2a33304714ba geometry.cpp --- a/geometry.cpp Tue Sep 08 12:15:39 2009 +0000 +++ b/geometry.cpp Tue Nov 17 08:24:59 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 ()