io.qt.gui.QVector3D Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Represents a vector or vertex in 3D space
* Java wrapper for Qt class QVector3D
*/
public class QVector3D extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
*
*/
public QVector3D(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QVector3D instance);
/**
* See QVector3D:: QVector3D(QPoint)
*/
public QVector3D(io.qt.core.@NonNull QPoint point){
super((QPrivateConstructor)null);
initialize_native(this, point);
}
private native static void initialize_native(QVector3D instance, io.qt.core.QPoint point);
/**
* See QVector3D:: QVector3D(QPointF)
*/
public QVector3D(io.qt.core.@NonNull QPointF point){
super((QPrivateConstructor)null);
initialize_native(this, point);
}
private native static void initialize_native(QVector3D instance, io.qt.core.QPointF point);
/**
* See QVector3D:: QVector3D(QVector2D)
*/
public QVector3D(io.qt.gui.@NonNull QVector2D vector){
super((QPrivateConstructor)null);
initialize_native(this, vector);
}
private native static void initialize_native(QVector3D instance, io.qt.gui.QVector2D vector);
/**
* See QVector3D:: QVector3D(QVector2D, float)
*/
public QVector3D(io.qt.gui.@NonNull QVector2D vector, float zpos){
super((QPrivateConstructor)null);
initialize_native(this, vector, zpos);
}
private native static void initialize_native(QVector3D instance, io.qt.gui.QVector2D vector, float zpos);
/**
* See QVector3D:: QVector3D(QVector3D)
*/
public QVector3D(io.qt.gui.@NonNull QVector3D other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QVector3D instance, io.qt.gui.QVector3D other);
/**
* See QVector3D:: QVector3D(QVector4D)
*/
public QVector3D(io.qt.gui.@NonNull QVector4D vector){
super((QPrivateConstructor)null);
initialize_native(this, vector);
}
private native static void initialize_native(QVector3D instance, io.qt.gui.QVector4D vector);
/**
* See QVector3D:: QVector3D(float, float, float)
*/
public QVector3D(float xpos, float ypos, float zpos){
super((QPrivateConstructor)null);
initialize_native(this, xpos, ypos, zpos);
}
private native static void initialize_native(QVector3D instance, float xpos, float ypos, float zpos);
/**
* See QVector3D:: distanceToLine(QVector3D, QVector3D)const
*/
@QtUninvokable
public final float distanceToLine(io.qt.gui.@NonNull QVector3D point, io.qt.gui.@NonNull QVector3D direction){
return distanceToLine_native_QVector3D_QVector3D_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point), QtJambi_LibraryUtilities.internal.checkedNativeId(direction));
}
@QtUninvokable
private native float distanceToLine_native_QVector3D_QVector3D_constfct(long __this__nativeId, long point, long direction);
/**
* See QVector3D:: distanceToPlane(QVector3D, QVector3D)const
*/
@QtUninvokable
public final float distanceToPlane(io.qt.gui.@NonNull QVector3D plane, io.qt.gui.@NonNull QVector3D normal){
return distanceToPlane_native_QVector3D_QVector3D_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(plane), QtJambi_LibraryUtilities.internal.checkedNativeId(normal));
}
@QtUninvokable
private native float distanceToPlane_native_QVector3D_QVector3D_constfct(long __this__nativeId, long plane, long normal);
/**
* See QVector3D:: distanceToPlane(QVector3D, QVector3D, QVector3D)const
*/
@QtUninvokable
public final float distanceToPlane(io.qt.gui.@NonNull QVector3D plane1, io.qt.gui.@NonNull QVector3D plane2, io.qt.gui.@NonNull QVector3D plane3){
return distanceToPlane_native_QVector3D_QVector3D_QVector3D_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(plane1), QtJambi_LibraryUtilities.internal.checkedNativeId(plane2), QtJambi_LibraryUtilities.internal.checkedNativeId(plane3));
}
@QtUninvokable
private native float distanceToPlane_native_QVector3D_QVector3D_QVector3D_constfct(long __this__nativeId, long plane1, long plane2, long plane3);
/**
* See QVector3D:: distanceToPoint(QVector3D)const
*/
@QtUninvokable
public final float distanceToPoint(io.qt.gui.@NonNull QVector3D point){
return distanceToPoint_native_QVector3D_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point));
}
@QtUninvokable
private native float distanceToPoint_native_QVector3D_constfct(long __this__nativeId, long point);
/**
*
*/
@QtUninvokable
public final boolean isNull(){
return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isNull_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final float length(){
return length_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float length_native_constfct(long __this__nativeId);
/**
* See QVector3D:: lengthSquared()const
*/
@QtUninvokable
public final float lengthSquared(){
return lengthSquared_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float lengthSquared_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void normalize(){
normalize_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void normalize_native(long __this__nativeId);
/**
* See QVector3D:: normalized()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D normalized(){
return normalized_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D normalized_native_constfct(long __this__nativeId);
/**
* See operator*(QVector3D, QMatrix4x4)
*
* @deprecated Extend the QVector3D to a QVector4D with 1.0 as the w coordinate before multiplying
*/
@Deprecated
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D times(io.qt.gui.@NonNull QMatrix4x4 matrix){
return times_native_cref_QMatrix4x4(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(matrix));
}
@Deprecated
@QtUninvokable
private native io.qt.gui.QVector3D times_native_cref_QMatrix4x4(long __this__nativeId, long matrix);
/**
* See operator*(QVector3D, QVector3D)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D times(io.qt.gui.@NonNull QVector3D v2){
return times_native_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(v2));
}
@QtUninvokable
private native io.qt.gui.QVector3D times_native_QVector3D(long __this__nativeId, long v2);
/**
* See operator*(QVector3D, float)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D times(float factor){
return times_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), factor);
}
@QtUninvokable
private native io.qt.gui.QVector3D times_native_float(long __this__nativeId, float factor);
/**
* See QVector3D:: operator*=(QVector3D)
*/
@QtUninvokable
public final @NonNull QVector3D multiply(io.qt.gui.@NonNull QVector3D vector){
return multiply_native_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(vector));
}
@QtUninvokable
private native QVector3D multiply_native_QVector3D(long __this__nativeId, long vector);
/**
* See QVector3D:: operator*=(float)
*/
@QtUninvokable
public final @NonNull QVector3D multiply(float factor){
return multiply_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), factor);
}
@QtUninvokable
private native QVector3D multiply_native_float(long __this__nativeId, float factor);
/**
* See operator+(QVector3D, QVector3D)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D plus(io.qt.gui.@NonNull QVector3D v2){
return plus_native_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(v2));
}
@QtUninvokable
private native io.qt.gui.QVector3D plus_native_QVector3D(long __this__nativeId, long v2);
/**
* See QVector3D:: operator+=(QVector3D)
*/
@QtUninvokable
public final @NonNull QVector3D add(io.qt.gui.@NonNull QVector3D vector){
return add_native_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(vector));
}
@QtUninvokable
private native QVector3D add_native_QVector3D(long __this__nativeId, long vector);
/**
* See operator-(QVector3D)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D unaryMinus(){
return unaryMinus_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D unaryMinus_native(long __this__nativeId);
/**
* See operator-(QVector3D, QVector3D)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D minus(io.qt.gui.@NonNull QVector3D v2){
return minus_native_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(v2));
}
@QtUninvokable
private native io.qt.gui.QVector3D minus_native_QVector3D(long __this__nativeId, long v2);
/**
* See QVector3D:: operator-=(QVector3D)
*/
@QtUninvokable
public final @NonNull QVector3D subtract(io.qt.gui.@NonNull QVector3D vector){
return subtract_native_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(vector));
}
@QtUninvokable
private native QVector3D subtract_native_QVector3D(long __this__nativeId, long vector);
/**
* See operator/(QVector3D, QVector3D)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D div(io.qt.gui.@NonNull QVector3D divisor){
return div_native_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(divisor));
}
@QtUninvokable
private native io.qt.gui.QVector3D div_native_QVector3D(long __this__nativeId, long divisor);
/**
* See operator/(QVector3D, float)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D div(float divisor){
return div_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), divisor);
}
@QtUninvokable
private native io.qt.gui.QVector3D div_native_float(long __this__nativeId, float divisor);
/**
* See QVector3D:: operator/=(QVector3D)
*/
@QtUninvokable
public final @NonNull QVector3D divide(io.qt.gui.@NonNull QVector3D vector){
return divide_native_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(vector));
}
@QtUninvokable
private native QVector3D divide_native_QVector3D(long __this__nativeId, long vector);
/**
* See QVector3D:: operator/=(float)
*/
@QtUninvokable
public final @NonNull QVector3D divide(float divisor){
return divide_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), divisor);
}
@QtUninvokable
private native QVector3D divide_native_float(long __this__nativeId, float divisor);
/**
* See operator<<(QDataStream&, QVector3D)
*/
@QtUninvokable
public void writeTo(io.qt.core.@StrictNonNull QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
* See operator==(QVector3D, QVector3D)
*/
@QtUninvokable
public final boolean equals(io.qt.gui.@NonNull QVector3D v2){
return equals_native_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(v2));
}
@QtUninvokable
private native boolean equals_native_QVector3D(long __this__nativeId, long v2);
/**
* See operator>>(QDataStream&, QVector3D&)
*/
@QtUninvokable
public void readFrom(io.qt.core.@StrictNonNull QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
* See QVector3D:: operator[](int)const
*/
@QtUninvokable
public final float get(int i){
if(i<0 || i>3)
throw new IndexOutOfBoundsException(i);
return get_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@QtUninvokable
private native float get_native_int_constfct(long __this__nativeId, int i);
/**
* See QVector3D:: operator[](int)
*/
@QtUninvokable
public final void set(int i, float value){
if(i<0 || i>3)
throw new IndexOutOfBoundsException(i);
set_native_int_float(QtJambi_LibraryUtilities.internal.nativeId(this), i, value);
}
@QtUninvokable
private native void set_native_int_float(long __this__nativeId, int i, float value);
/**
* See QVector3D:: project(QMatrix4x4, QMatrix4x4, QRect)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D project(io.qt.gui.@NonNull QMatrix4x4 modelView, io.qt.gui.@NonNull QMatrix4x4 projection, io.qt.core.@NonNull QRect viewport){
return project_native_cref_QMatrix4x4_cref_QMatrix4x4_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(modelView), QtJambi_LibraryUtilities.internal.checkedNativeId(projection), QtJambi_LibraryUtilities.internal.checkedNativeId(viewport));
}
@QtUninvokable
private native io.qt.gui.QVector3D project_native_cref_QMatrix4x4_cref_QMatrix4x4_cref_QRect_constfct(long __this__nativeId, long modelView, long projection, long viewport);
/**
*
*/
@QtUninvokable
public final void setX(float x){
setX_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), x);
}
@QtUninvokable
private native void setX_native_float(long __this__nativeId, float x);
/**
*
*/
@QtUninvokable
public final void setY(float y){
setY_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), y);
}
@QtUninvokable
private native void setY_native_float(long __this__nativeId, float y);
/**
*
*/
@QtUninvokable
public final void setZ(float z){
setZ_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), z);
}
@QtUninvokable
private native void setZ_native_float(long __this__nativeId, float z);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint toPoint(){
return toPoint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint toPoint_native_constfct(long __this__nativeId);
/**
* See QVector3D:: toPointF()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPointF toPointF(){
return toPointF_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF toPointF_native_constfct(long __this__nativeId);
/**
* See QVector3D:: toVector2D()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector2D toVector2D(){
return toVector2D_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector2D toVector2D_native_constfct(long __this__nativeId);
/**
* See QVector3D:: toVector4D()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector4D toVector4D(){
return toVector4D_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector4D toVector4D_native_constfct(long __this__nativeId);
/**
* See QVector3D:: unproject(QMatrix4x4, QMatrix4x4, QRect)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D unproject(io.qt.gui.@NonNull QMatrix4x4 modelView, io.qt.gui.@NonNull QMatrix4x4 projection, io.qt.core.@NonNull QRect viewport){
return unproject_native_cref_QMatrix4x4_cref_QMatrix4x4_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(modelView), QtJambi_LibraryUtilities.internal.checkedNativeId(projection), QtJambi_LibraryUtilities.internal.checkedNativeId(viewport));
}
@QtUninvokable
private native io.qt.gui.QVector3D unproject_native_cref_QMatrix4x4_cref_QMatrix4x4_cref_QRect_constfct(long __this__nativeId, long modelView, long projection, long viewport);
/**
*
*/
@QtUninvokable
public final float x(){
return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float x_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final float y(){
return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float y_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final float z(){
return z_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float z_native_constfct(long __this__nativeId);
/**
* See QVector3D:: crossProduct(QVector3D, QVector3D)
*/
public static io.qt.gui.@NonNull QVector3D crossProduct(io.qt.gui.@NonNull QVector3D v1, io.qt.gui.@NonNull QVector3D v2){
return crossProduct_native_QVector3D_QVector3D(QtJambi_LibraryUtilities.internal.checkedNativeId(v1), QtJambi_LibraryUtilities.internal.checkedNativeId(v2));
}
private native static io.qt.gui.QVector3D crossProduct_native_QVector3D_QVector3D(long v1, long v2);
/**
* See QVector3D:: dotProduct(QVector3D, QVector3D)
*/
public static float dotProduct(io.qt.gui.@NonNull QVector3D v1, io.qt.gui.@NonNull QVector3D v2){
return dotProduct_native_QVector3D_QVector3D(QtJambi_LibraryUtilities.internal.checkedNativeId(v1), QtJambi_LibraryUtilities.internal.checkedNativeId(v2));
}
private native static float dotProduct_native_QVector3D_QVector3D(long v1, long v2);
/**
* See QVector3D:: normal(QVector3D, QVector3D)
*/
public static io.qt.gui.@NonNull QVector3D normal(io.qt.gui.@NonNull QVector3D v1, io.qt.gui.@NonNull QVector3D v2){
return normal_native_QVector3D_QVector3D(QtJambi_LibraryUtilities.internal.checkedNativeId(v1), QtJambi_LibraryUtilities.internal.checkedNativeId(v2));
}
private native static io.qt.gui.QVector3D normal_native_QVector3D_QVector3D(long v1, long v2);
/**
* See QVector3D:: normal(QVector3D, QVector3D, QVector3D)
*/
public static io.qt.gui.@NonNull QVector3D normal(io.qt.gui.@NonNull QVector3D v1, io.qt.gui.@NonNull QVector3D v2, io.qt.gui.@NonNull QVector3D v3){
return normal_native_QVector3D_QVector3D_QVector3D(QtJambi_LibraryUtilities.internal.checkedNativeId(v1), QtJambi_LibraryUtilities.internal.checkedNativeId(v2), QtJambi_LibraryUtilities.internal.checkedNativeId(v3));
}
private native static io.qt.gui.QVector3D normal_native_QVector3D_QVector3D_QVector3D(long v1, long v2, long v3);
/**
* See qFuzzyCompare(QVector3D, QVector3D)
*/
public static boolean qFuzzyCompare(io.qt.gui.@NonNull QVector3D v1, io.qt.gui.@NonNull QVector3D v2){
return qFuzzyCompare_native_QVector3D_QVector3D(QtJambi_LibraryUtilities.internal.checkedNativeId(v1), QtJambi_LibraryUtilities.internal.checkedNativeId(v2));
}
private native static boolean qFuzzyCompare_native_QVector3D_QVector3D(long v1, long v2);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QVector3D(QPrivateConstructor p) { super(p); }
/**
* See operator==(QVector3D, QVector3D)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QVector3D) {
return equals((io.qt.gui.QVector3D) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QVector3D)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* See operator<<(QDebug, QVector3D)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QVector3D:: QVector3D(QVector3D)
*/
@QtUninvokable
@Override
public QVector3D clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QVector3D clone_native(long __this_nativeId);
/**
* Overloaded function for {@link #times(io.qt.gui.QMatrix4x4)}.
*
* @deprecated Extend the QVector3D to a QVector4D with 1.0 as the w coordinate before multiplying
*/
@Deprecated
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D times(io.qt.gui.@NonNull QTransform matrix) {
return times(new io.qt.gui.QMatrix4x4(matrix));
}
/**
* Overloaded function for {@link #project(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)}.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D project(io.qt.gui.@NonNull QTransform modelView, io.qt.gui.@NonNull QMatrix4x4 projection, io.qt.core.@NonNull QRect viewport) {
return project(new io.qt.gui.QMatrix4x4(modelView), projection, viewport);
}
/**
* Overloaded function for {@link #project(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)}.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D project(io.qt.gui.@NonNull QMatrix4x4 modelView, io.qt.gui.@NonNull QTransform projection, io.qt.core.@NonNull QRect viewport) {
return project(modelView, new io.qt.gui.QMatrix4x4(projection), viewport);
}
/**
* Overloaded function for {@link #project(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)}.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D project(io.qt.gui.@NonNull QTransform modelView, io.qt.gui.@NonNull QTransform projection, io.qt.core.@NonNull QRect viewport) {
return project(new io.qt.gui.QMatrix4x4(modelView), new io.qt.gui.QMatrix4x4(projection), viewport);
}
/**
* Overloaded function for {@link #unproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)}.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D unproject(io.qt.gui.@NonNull QTransform modelView, io.qt.gui.@NonNull QMatrix4x4 projection, io.qt.core.@NonNull QRect viewport) {
return unproject(new io.qt.gui.QMatrix4x4(modelView), projection, viewport);
}
/**
* Overloaded function for {@link #unproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)}.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D unproject(io.qt.gui.@NonNull QMatrix4x4 modelView, io.qt.gui.@NonNull QTransform projection, io.qt.core.@NonNull QRect viewport) {
return unproject(modelView, new io.qt.gui.QMatrix4x4(projection), viewport);
}
/**
* Overloaded function for {@link #unproject(io.qt.gui.QMatrix4x4, io.qt.gui.QMatrix4x4, io.qt.core.QRect)}.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D unproject(io.qt.gui.@NonNull QTransform modelView, io.qt.gui.@NonNull QTransform projection, io.qt.core.@NonNull QRect viewport) {
return unproject(new io.qt.gui.QMatrix4x4(modelView), new io.qt.gui.QMatrix4x4(projection), viewport);
}
}