31#include "qwt_global.h"
65 QPointF toPoint()
const;
79#ifndef QT_NO_DEBUG_STREAM
80QWT_EXPORT QDebug operator<<(QDebug,
const QwtPoint3D&);
148 return m_x == 0.0 && m_y == 0.0 && m_z == 0.0;
215 return QPointF( m_x, m_y );
221 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:45
double z() const
Return the z-coordinate of the point
Definition qwt_point_3d.h:164
bool operator==(const QwtPoint3D &) const
Return true if this point and other are equal
Definition qwt_point_3d.h:219
double y() const
Return the y-coordinate of the point
Definition qwt_point_3d.h:158
bool operator!=(const QwtPoint3D &) const
Return true if this point and other are different
Definition qwt_point_3d.h:225
void setY(double y)
Set the y-coordinate of the point to y
Definition qwt_point_3d.h:194
double & rx()
Return a reference to the x-coordinate of the point
Definition qwt_point_3d.h:170
double & ry()
Return a reference to the y-coordinate of the point
Definition qwt_point_3d.h:176
double x() const
Return the x-coordinate of the point
Definition qwt_point_3d.h:152
QwtPoint3D()
Default constructor - constructs a null point.
Definition qwt_point_3d.h:93
void setZ(double y)
Set the z-coordinate of the point to z
Definition qwt_point_3d.h:200
double & rz()
Return a reference to the z-coordinate of the point
Definition qwt_point_3d.h:182
bool isNull() const
Definition qwt_point_3d.h:146
QPointF toPoint() const
Definition qwt_point_3d.h:213
void setX(double x)
Set the x-coordinate of the point to x
Definition qwt_point_3d.h:188