QVector3D Class Reference
Constructor
- void QVector3D()
- void QVector3D(QPoint point)
- void QVector3D(QPointF point)
- void QVector3D(QVector2D vector)
- void QVector3D(QVector2D vector, float zpos)
- void QVector3D(QVector4D vector)
- void QVector3D(float xpos, float ypos, float zpos)
Constructor Properties
- prototype: The QVector3D prototype object
- QVector3D crossProduct(QVector3D v1, QVector3D v2)
- float dotProduct(QVector3D v1, QVector3D v2)
- QVector3D normal(QVector3D v1, QVector3D v2)
Prototype Object Properties
- float distanceToLine(QVector3D point, QVector3D direction)
- float distanceToPlane(QVector3D plane, QVector3D normal)
- float distanceToPoint(QVector3D point)
- bool isNull()
- float length()
- float lengthSquared()
- void normalize()
- QVector3D normalized()
- QVector3D operator_add_assign(QVector3D vector)
- QVector3D operator_divide_assign(float divisor)
- bool operator_equal(QVector3D v2)
- QVector3D operator_multiply_assign(QVector3D vector)
- float operator_subscript(int i)
- QVector3D operator_subtract_assign(QVector3D vector)
- void setX(float x)
- void setY(float y)
- void setZ(float z)
- QPoint toPoint()
- QPointF toPointF()
- QVector2D toVector2D()
- QVector4D toVector4D()
- float x()
- float y()
- float z()
Instance Properties
QVector3D objects have no special properties beyond those inherited from the QVector3D prototype object.