geometry.cpp
changeset 798 d251c7b2de54
parent 792 7d67be709091
child 824 36eb4b8f409e
     1.1 --- a/geometry.cpp	Wed Sep 23 12:14:08 2009 +0000
     1.2 +++ b/geometry.cpp	Thu Oct 01 11:28:50 2009 +0000
     1.3 @@ -88,6 +88,11 @@
     1.4  	setY (-y());
     1.5  }
     1.6  
     1.7 +QPointF Vector::toQPointF ()
     1.8 +{
     1.9 +	return QPointF (x(),y());
    1.10 +}
    1.11 +
    1.12  /*! Calculate the projection of a polygon on an axis
    1.13      and returns it as a [min, max] interval  */
    1.14  ConvexPolygon::ConvexPolygon ()