QVector2D

Binding for C++ class QVector2D.

Constructors

this
this(qt.core.namespace.Initialization )
Undocumented in source.
this
this(float xpos, float ypos)
Undocumented in source.
this
this(QPoint point)
Undocumented in source.
this
this(QPointF point)
Undocumented in source.

Members

Functions

isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.
lengthSquared
float lengthSquared()
Undocumented in source. Be warned that the author may not have intended to support it.
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.
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.
toVector3D
QVector3D toVector3D()
Undocumented in source. Be warned that the author may not have intended to support it.
toVector4D
QVector4D toVector4D()
Undocumented in source. Be warned that the author may not have intended to support it.
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.

Static functions

dotProduct
float dotProduct(QVector2D v1, QVector2D v2)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta