5#include <QtCore/qdatastream.h>
6#include <QtCore/qmath.h>
7#include <QtCore/qdebug.h>
14 double len = double(xp) * double(xp) +
15 double(yp) * double(yp) +
16 double(zp) * double(zp);
28 double len = double(xp) * double(xp) +
29 double(yp) * double(yp) +
30 double(zp) * double(zp);
63 return (*
this - point).length();
65 return (*
this -
p).length();
70 return qSqrt(xp * xp + yp * yp + zp * zp);
73#ifndef QT_NO_DEBUG_STREAM
78 dbg.nospace() <<
"QDoubleVector3D("
85#ifndef QT_NO_DATASTREAM
\inmodule QtCore\reentrant
double distanceToLine(const QDoubleVector3D &point, const QDoubleVector3D &direction) const
double distanceToPlane(const QDoubleVector3D &plane, const QDoubleVector3D &normal) const
Q_DECL_CONSTEXPR QDoubleVector3D()
static QDoubleVector3D normal(const QDoubleVector3D &v1, const QDoubleVector3D &v2)
QDoubleVector3D normalized() const
static Q_DECL_CONSTEXPR QDoubleVector3D crossProduct(const QDoubleVector3D &v1, const QDoubleVector3D &v2)
Combined button and popup list for selecting options.
QDebug operator<<(QDebug dbg, const QDoubleVector3D &vector)
QDataStream & operator>>(QDataStream &stream, QDoubleVector3D &vector)
bool qFuzzyIsNull(qfloat16 f) noexcept
qfloat16 qSqrt(qfloat16 f)
GLint GLfloat GLfloat GLfloat v2
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat z
GLint GLint GLint GLint GLint x
[0]
GLint GLfloat GLfloat GLfloat GLfloat v3