Skip to content

PythonQt.Qt.QVector3D

QVector3D

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

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.

Source: https://doc.qt.io/archives/qt-5.15/qvector3d.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
crossProduct function (self, v1: Any, v2: Any) -> Any X.crossProduct(v1, v2) -> PythonQt.QtGui.QVector3D (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
distanceToLine function (self, point: Any, direction: Any) -> float X.distanceToLine(point, direction) -> float (shared captured text)
distanceToPlane function (self, plane1: Any, plane2: Any, plane3: Any) -> float X.distanceToPlane(plane1, plane2, plane3) -> float (shared captured text)
distanceToPoint function (self, point: Any) -> float X.distanceToPoint(point) -> float (shared captured text)
dotProduct function (self, v1: Any, v2: Any) -> float X.dotProduct(v1, v2) -> float (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
isNull function (self) -> bool X.isNull() -> bool (shared captured text)
length function (self) -> float X.length() -> float (shared captured text)
lengthSquared function (self) -> float X.lengthSquared() -> float (shared captured text)
normal function (self, v1: Any, v2: Any, v3: Any) -> Any X.normal(v1, v2, v3) -> PythonQt.QtGui.QVector3D (shared captured text)
normalize function (self) -> None Normalizes the currect vector in place. (shared captured text)
normalized function (self) -> Any X.normalized() -> PythonQt.QtGui.QVector3D (shared captured text)
operator_subscript function (self, i: Any) -> float X.operator_subscript(i) -> float (shared captured text)
project function (self, modelView: Any, projection: Any, viewport: Any) -> Any X.project(modelView, projection, viewport) -> PythonQt.QtGui.QVector3D (shared captured text)
readFrom function (self, arg__1: Any) -> Any (shared captured text)
setX function (self, x: float) -> None Sets the x coordinate of this point to the given x coordinate. (shared captured text)
setY function (self, y: float) -> None Sets the y coordinate of this point to the given y coordinate. (shared captured text)
setZ function (self, z: float) -> None Sets the z coordinate of this point to the given z coordinate. (shared captured text)
toPoint function (self) -> Any X.toPoint() -> PythonQt.QtCore.QPoint (shared captured text)
toPointF function (self) -> Any X.toPointF() -> PythonQt.QtCore.QPointF (shared captured text)
toVector2D function (self) -> Any X.toVector2D() -> PythonQt.QtGui.QVector2D (shared captured text)
toVector4D function (self) -> Any X.toVector4D() -> PythonQt.QtGui.QVector4D (shared captured text)
unproject function (self, modelView: Any, projection: Any, viewport: Any) -> Any X.unproject(modelView, projection, viewport) -> PythonQt.QtGui.QVector3D (shared captured text)
writeTo function (self, arg__1: Any) -> Any (shared captured text)
x function (self) -> float X.x() -> float (shared captured text)
y function (self) -> float X.y() -> float (shared captured text)
z function (self) -> float X.z() -> float (shared captured text)