NAME

Qt::Gui::QVector3D

PUBLIC METHODS

QVector3D()
QVector3D(const QPoint & point)
QVector3D(const QPointF & point)
QVector3D(const QVector2D & vector)
QVector3D(const QVector4D & vector)
QVector3D(const QVector2D & vector, qreal zpos)
QVector3D(qreal xpos, qreal ypos, qreal zpos)
static QVector3D crossProduct(const QVector3D & v1, const QVector3D & v2)
qreal distanceToLine(const QVector3D & point, const QVector3D & direction)
qreal distanceToPlane(const QVector3D & plane, const QVector3D & normal)
qreal distanceToPlane(const QVector3D & plane1, const QVector3D & plane2, const QVector3D & plane3)
static qreal dotProduct(const QVector3D & v1, const QVector3D & v2)
bool isNull()
qreal length()
qreal lengthSquared()
static QVector3D normal(const QVector3D & v1, const QVector3D & v2)
static QVector3D normal(const QVector3D & v1, const QVector3D & v2, const QVector3D & v3)
void normalize()
QVector3D normalized()
QVariant operator QVariant()
QVector3D & operator*=(qreal factor)
QVector3D & operator*=(const QVector3D & vector)
QVector3D & operator+=(const QVector3D & vector)
QVector3D & operator-=(const QVector3D & vector)
QVector3D & operator/=(qreal divisor)
void setX(qreal x)
void setY(qreal y)
void setZ(qreal z)
QPoint toPoint()
QPointF toPointF()
QVector2D toVector2D()
QVector4D toVector4D()
qreal x()
qreal y()
qreal z()

ENUM VALUES

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html