point3d.h
16 lines
| 318 B
| text/x-c
|
CLexer
|
r0 | #ifndef POINT3D_H | ||
#define POINT3D_H | ||||
#include <QPointF> | ||||
class Point3D : public QPointF | ||||
{ | ||||
public: | ||||
Point3D(); | ||||
Point3D(qreal x, qreal y, qreal value); | ||||
inline void setValue(qreal value){this->m_value = value;} | ||||
inline qreal value(){return this->m_value;} | ||||
private: | ||||
qreal m_value; | ||||
}; | ||||
#endif // POINT3D_H | ||||