QVector3D Class
The QVector3D class represents a vector or vertex in 3D space. More...
| Header: | #include <QVector3D> |
| qmake: | QT += gui |
| Since: | Qt 4.6 |
This class was introduced in Qt 4.6.
Detailed Description
Vectors are one of the main building blocks of 3D representation and drawing. They consist of three coordinates, traditionally called x, y, and z.
The QVector3D class can also be used to represent vertices in 3D space. We therefore do not need to provide a separate vertex class.
See also QVector2D, QVector4D, and QQuaternion.