diff -r 2876353ea150 -r d251c7b2de54 geometry.cpp --- a/geometry.cpp Wed Sep 23 12:14:08 2009 +0000 +++ b/geometry.cpp Thu Oct 01 11:28:50 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 ()