31#include "qwt_global.h"
56 void setX(
double x );
57 void setY(
double y );
58 void setZ(
double y );
60 QPointF toPoint()
const;
71Q_DECLARE_TYPEINFO(
QwtPoint3D, Q_MOVABLE_TYPE );
74#ifndef QT_NO_DEBUG_STREAM
75QWT_EXPORT QDebug operator<<( QDebug,
const QwtPoint3D& );
116 return m_x == 0.0 && m_y == 0.0 && m_z == 0.0;
178 return QPointF( m_x, m_y );
184 return ( m_x == other.m_x ) && ( m_y == other.m_y ) && ( m_z == other.m_z );
QwtPoint3D class defines a 3D point in double coordinates.
Definition qwt_point_3d.h:40
double z() const
Definition qwt_point_3d.h:132
bool operator==(const QwtPoint3D &) const
Definition qwt_point_3d.h:182
double y() const
Definition qwt_point_3d.h:126
bool operator!=(const QwtPoint3D &) const
Definition qwt_point_3d.h:188
void setY(double y)
Sets the y-coordinate of the point to the value specified by y.
Definition qwt_point_3d.h:162
double & rx()
Definition qwt_point_3d.h:138
double & ry()
Definition qwt_point_3d.h:144
double x() const
Definition qwt_point_3d.h:120
QwtPoint3D()
Constructs a null point.
Definition qwt_point_3d.h:82
void setZ(double y)
Sets the z-coordinate of the point to the value specified by z.
Definition qwt_point_3d.h:168
double & rz()
Definition qwt_point_3d.h:150
bool isNull() const
Definition qwt_point_3d.h:114
QPointF toPoint() const
Definition qwt_point_3d.h:176
void setX(double x)
Sets the x-coordinate of the point to the value specified by x.
Definition qwt_point_3d.h:156