QVector3D

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Constructors

this
this()
Undocumented in source.
this
this(qt.core.namespace.Initialization )
Undocumented in source.
this
this(float xpos, float ypos, float zpos)
Undocumented in source.
this
this(const(QPoint) point)
Undocumented in source.
this
this(const(QPointF) point)
Undocumented in source.
this
this(const(QVector2D) vector)
Undocumented in source.
this
this(const(QVector2D) vector, float zpos)
Undocumented in source.
this
this(const(QVector4D) vector)
Undocumented in source.

Members

Functions

distanceToLine
float distanceToLine(const(QVector3D) point, const(QVector3D) direction)
Undocumented in source.
distanceToPlane
float distanceToPlane(const(QVector3D) plane, const(QVector3D) normal)
Undocumented in source.
distanceToPlane
float distanceToPlane(const(QVector3D) plane1, const(QVector3D) plane2, const(QVector3D) plane3)
Undocumented in source.
distanceToPoint
float distanceToPoint(const(QVector3D) point)
Undocumented in source.
isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.
length
float length()
Undocumented in source.
lengthSquared
float lengthSquared()
Undocumented in source.
normalize
void normalize()
Undocumented in source.
normalized
QVector3D normalized()
Undocumented in source.
project
QVector3D project(const(QMatrix4x4) modelView, const(QMatrix4x4) projection, const(QRect) viewport)
Undocumented in source.
setX
void setX(float aX)
Undocumented in source. Be warned that the author may not have intended to support it.
setY
void setY(float aY)
Undocumented in source. Be warned that the author may not have intended to support it.
setZ
void setZ(float aZ)
Undocumented in source. Be warned that the author may not have intended to support it.
toPoint
QPoint toPoint()
Undocumented in source. Be warned that the author may not have intended to support it.
toPointF
QPointF toPointF()
Undocumented in source. Be warned that the author may not have intended to support it.
toVector2D
QVector2D toVector2D()
Undocumented in source.
toVector4D
QVector4D toVector4D()
Undocumented in source.
unproject
QVector3D unproject(const(QMatrix4x4) modelView, const(QMatrix4x4) projection, const(QRect) viewport)
Undocumented in source.
x
float x()
Undocumented in source. Be warned that the author may not have intended to support it.
y
float y()
Undocumented in source. Be warned that the author may not have intended to support it.
z
float z()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

crossProduct
QVector3D crossProduct(const(QVector3D) v1, const(QVector3D) v2)
Undocumented in source.
dotProduct
float dotProduct(const(QVector3D) v1, const(QVector3D) v2)
Undocumented in source.
normal
QVector3D normal(const(QVector3D) v1, const(QVector3D) v2)
Undocumented in source.
normal
QVector3D normal(const(QVector3D) v1, const(QVector3D) v2, const(QVector3D) v3)
Undocumented in source.

Meta