4#ifndef QDOUBLEVECTOR3D_P_H
5#define QDOUBLEVECTOR3D_P_H
18#ifdef QT_BUILD_LOCATION_LIB
24#include <QtCore/qmetatype.h>
36 inline bool isNull()
const;
42 inline void setX(
double x);
43 inline void setY(
double y);
44 inline void setZ(
double z);
46 inline double get(
int i)
const;
62 {
return v1.xp *
v2.xp +
v1.yp *
v2.yp +
v1.zp *
v2.zp; }
104 : xp(
v.xp), yp(
v.yp), zp(0.0) {}
107 : xp(
v.xp), yp(
v.yp), zp(zpos) {}
119{
return xp * xp + yp * yp + zp * zp; }
199 return v1.xp ==
v2.xp &&
v1.yp ==
v2.yp &&
v1.zp ==
v2.zp;
204 return v1.xp !=
v2.xp ||
v1.yp !=
v2.yp ||
v1.zp !=
v2.zp;
255#ifndef QT_NO_DEBUG_STREAM
259#ifndef QT_NO_DATASTREAM
\inmodule QtCore\reentrant
friend class QDoubleVector3D
static Q_DECL_CONSTEXPR double dotProduct(const QDoubleVector3D &v1, const QDoubleVector3D &v2)
Q_DECL_CONSTEXPR double x() const
double distanceToPlane(const QDoubleVector3D &plane, const QDoubleVector3D &normal) const
QDoubleVector3D & operator*=(double factor)
Q_DECL_CONSTEXPR QDoubleVector3D()
QDoubleVector3D & operator-=(const QDoubleVector3D &vector)
Q_DECL_CONSTEXPR double y() const
QDoubleVector3D & operator/=(double divisor)
Q_DECL_CONSTEXPR QDoubleVector2D toVector2D() const
Q_DECL_CONSTEXPR double z() const
Q_DECL_CONSTEXPR double lengthSquared() const
friend class QDoubleVector2D
void set(int i, double value)
static Q_DECL_CONSTEXPR QDoubleVector3D crossProduct(const QDoubleVector3D &v1, const QDoubleVector3D &v2)
QDoubleVector3D & operator+=(const QDoubleVector3D &vector)
Combined button and popup list for selecting options.
static QDoubleVector2D toVector2D(const IntPoint &p)
constexpr bool operator!=(const timespec &t1, const timespec &t2)
constexpr timespec operator+(const timespec &t1, const timespec &t2)
constexpr timespec operator*(const timespec &t1, int mul)
constexpr timespec & operator+=(timespec &t1, const timespec &t2)
constexpr timespec operator-(const timespec &t1, const timespec &t2)
static QDBusError::ErrorType get(const char *name)
Q_DECL_CONSTEXPR const QDoubleVector3D operator/(const QDoubleVector3D &vector, double divisor)
Q_DECL_CONSTEXPR const QDoubleVector3D operator*(double factor, const QDoubleVector3D &vector)
Q_DECL_CONSTEXPR const QDoubleVector3D operator+(const QDoubleVector3D &v1, const QDoubleVector3D &v2)
Q_DECL_CONSTEXPR bool qFuzzyCompare(const QDoubleVector3D &v1, const QDoubleVector3D &v2)
Q_POSITIONING_EXPORT QDataStream & operator>>(QDataStream &, QDoubleVector3D &)
Q_DECL_CONSTEXPR bool operator==(const QDoubleVector3D &v1, const QDoubleVector3D &v2)
Q_POSITIONING_EXPORT QDebug operator<<(QDebug dbg, const QDoubleVector3D &vector)
Q_DECL_CONSTEXPR const QDoubleVector3D operator-(const QDoubleVector3D &v1, const QDoubleVector3D &v2)
Q_DECL_CONSTEXPR bool operator!=(const QDoubleVector3D &v1, const QDoubleVector3D &v2)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
bool qFuzzyCompare(qfloat16 p1, qfloat16 p2) noexcept
bool qIsNull(qfloat16 f) noexcept
constexpr QMargins operator/(const QMargins &margins, int divisor)
GLint GLfloat GLfloat GLfloat v2
GLsizei const GLfloat * v
[13]
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat z
GLint GLint GLint GLint GLint x
[0]
GLenum GLuint GLenum GLsizei length
GLint GLfloat GLfloat GLfloat GLfloat v3
GLint GLenum GLboolean normalized
static void normalize(double &x, double &y)
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
QFuture< QSet< QChar > > set
[10]