[Development] Move math3d from QtGui to QtCore

Uwe Rathmann Uwe.Rathmann at tigertal.de
Fri Jul 6 08:12:58 CEST 2012


On 07/06/2012 07:54 AM, Laszlo Papp wrote:

> In any case, I would call for QPointF3D (and similarities) again.

Qwt offers this implementation: 
http://qwt.svn.sourceforge.net/viewvc/qwt/trunk/qwt/src/qwt_point_3d.h?revision=1083&view=markup

The fact that QwtPoint3D exists shows, that QVector2D is not what Qwt ( 
and probably most applications dealing with 3D points ) needs.

But if it is only about adding trivial classes like this one I don't see 
many arguments, why it should be at a different place than QPointF ( 
even if I would have followed Thiago so far ).

Uwe

PS: Qwt also has a class for a 2D polar point too




More information about the Development mailing list