11 #ifndef QWT_POINT_3D_H
12 #define QWT_POINT_3D_H 1
14 #include "qwt_global.h"
16 #ifndef QT_NO_DEBUG_STREAM
42 void setX(
double x );
43 void setY(
double y );
44 void setZ(
double y );
46 QPointF toPoint()
const;
57 Q_DECLARE_TYPEINFO(
QwtPoint3D, Q_MOVABLE_TYPE);
59 #ifndef QT_NO_DEBUG_STREAM
60 QWT_EXPORT QDebug operator<<( QDebug,
const QwtPoint3D & );
112 return d_x == 0.0 && d_y == 0.0 && d_z == 0.0;
174 return QPointF( d_x, d_y );
180 return ( d_x == other.d_x ) && ( d_y == other.d_y ) && ( d_z == other.d_z );
void setY(double y)
Sets the y-coordinate of the point to the value specified by y.
Definition: qwt_point_3d.h:158
double z() const
Definition: qwt_point_3d.h:128
bool isNull() const
Definition: qwt_point_3d.h:110
bool operator!=(const QwtPoint3D &) const
Definition: qwt_point_3d.h:184
void setZ(double y)
Sets the z-coordinate of the point to the value specified by z.
Definition: qwt_point_3d.h:164
QwtPoint3D()
Definition: qwt_point_3d.h:67
void setX(double x)
Sets the x-coordinate of the point to the value specified by x.
Definition: qwt_point_3d.h:152
double y() const
Definition: qwt_point_3d.h:122
QPointF toPoint() const
Definition: qwt_point_3d.h:172
double & rx()
Definition: qwt_point_3d.h:134
double & rz()
Definition: qwt_point_3d.h:146
double & ry()
Definition: qwt_point_3d.h:140
double x() const
Definition: qwt_point_3d.h:116
bool operator==(const QwtPoint3D &) const
Definition: qwt_point_3d.h:178
QwtPoint3D class defines a 3D point in double coordinates.
Definition: qwt_point_3d.h:24