diff -r 7d67be709091 -r 3086ee01554a geometry.cpp --- a/geometry.cpp Tue Sep 08 12:15:39 2009 +0000 +++ b/geometry.cpp Thu Dec 10 17:04:48 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 ()