java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QVector4D
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a vector or vertex in 4D space
Java wrapper for Qt's class QVector4D
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQVector4D
(float xpos, float ypos, float zpos, float wpos) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QVector4D
clone()
final QVector4D
divide
(float divisor) final QVector4D
static float
dotProduct
(QVector4D v1, QVector4D v2) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final boolean
isNull()
final float
length()
final float
final QVector4D
multiply
(float factor) final QVector4D
final void
final QVector4D
static boolean
qFuzzyCompare
(QVector4D v1, QVector4D v2) void
readFrom
(QDataStream arg__1) final void
setW
(float w) final void
setX
(float x) final void
setY
(float y) final void
setZ
(float z) final QVector4D
final QPoint
toPoint()
final QPointF
toPointF()
toString()
final QVector2D
final QVector2D
final QVector3D
final QVector3D
final float
w()
void
writeTo
(QDataStream arg__1) final float
x()
final float
y()
final float
z()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QVector4D
public QVector4D() -
QVector4D
-
QVector4D
-
QVector4D
-
QVector4D
-
QVector4D
-
QVector4D
-
QVector4D
public QVector4D(float xpos, float ypos, float zpos, float wpos) -
QVector4D
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isNull
-
length
-
lengthSquared
-
normalize
-
normalized
-
multiply
-
multiply
-
add
-
subtract
-
divide
-
divide
-
writeTo
-
readFrom
-
setW
-
setX
-
setY
-
setZ
-
toPoint
-
toPointF
-
toVector2D
-
toVector2DAffine
-
toVector3D
-
toVector3DAffine
-
w
-
x
-
y
-
z
-
dotProduct
-
qFuzzyCompare
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-