10#include "qwt_point_3d.h"
12#if QT_VERSION >= 0x050200
14static QwtPoint3D qwtPointToPoint3D(
const QPointF& point )
23 static const struct RegisterQwtPoint3D
25 inline RegisterQwtPoint3D()
27 qRegisterMetaType< QwtPoint3D >();
29#if QT_VERSION >= 0x050200
30 QMetaType::registerConverter< QPointF, QwtPoint3D >( qwtPointToPoint3D );
33 } qwtRegisterQwtPoint3D;
36#ifndef QT_NO_DEBUG_STREAM
40QDebug operator<<( QDebug debug,
const QwtPoint3D& point )
42 debug.nospace() <<
"QwtPoint3D(" << point.
x()
43 <<
"," << point.
y() <<
"," << point.
z() <<
")";
QwtPoint3D class defines a 3D point in double coordinates.