QVector2D

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)
Undocumented in source.
this
this(const(QPoint) point)
Undocumented in source.
this
this(const(QPointF) point)
Undocumented in source.
this
this(const(QVector3D) vector)
Undocumented in source.
this
this(const(QVector4D) vector)
Undocumented in source.

Members

Functions

distanceToLine
float distanceToLine(const(QVector2D) point, const(QVector2D) direction)
Undocumented in source.
distanceToPoint
float distanceToPoint(const(QVector2D) 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
QVector2D normalized()
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.
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.
toVector4D
QVector4D toVector4D()
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.

Static functions

dotProduct
float dotProduct(const(QVector2D) v1, const(QVector2D) v2)
Undocumented in source.

Meta