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 类定义双精度坐标的 3D 点
Definition qwt_point_3d.h:45
double z() const
返回点的 Z 坐标
Definition qwt_point_3d.h:164
bool operator==(const QwtPoint3D &) const
如果此点与另一点相等则返回 true
Definition qwt_point_3d.h:219
double y() const
返回点的 Y 坐标
Definition qwt_point_3d.h:158
bool operator!=(const QwtPoint3D &) const
如果此点与另一点不同则返回 true
Definition qwt_point_3d.h:225
void setY(double y)
将点的 Y 坐标设置为 y
Definition qwt_point_3d.h:194
double & rx()
返回点 X 坐标的引用
Definition qwt_point_3d.h:170
double & ry()
返回点 Y 坐标的引用
Definition qwt_point_3d.h:176
double x() const
返回点的 X 坐标
Definition qwt_point_3d.h:152
QwtPoint3D()
默认构造函数 - 构造一个空点
Definition qwt_point_3d.h:93
void setZ(double y)
将点的 Z 坐标设置为 z
Definition qwt_point_3d.h:200
double & rz()
返回点 Z 坐标的引用
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)
将点的 X 坐标设置为 x
Definition qwt_point_3d.h:188