io.qt.positioning.QGeoRectangle Maven / Gradle / Ivy
Show all versions of qtjambi-positioning Show documentation
package io.qt.positioning;
import io.qt.*;
/**
* Defines a rectangular geographic area
* Java wrapper for Qt class QGeoRectangle
*/
public class QGeoRectangle extends io.qt.positioning.QGeoShape
implements java.lang.Cloneable
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGeoRectangle.class);
/**
* See QGeoRectangle:: QGeoRectangle()
*/
public QGeoRectangle(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QGeoRectangle instance);
/**
* See QGeoRectangle:: QGeoRectangle(QGeoCoordinate, QGeoCoordinate)
*/
public QGeoRectangle(io.qt.positioning.@NonNull QGeoCoordinate topLeft, io.qt.positioning.@NonNull QGeoCoordinate bottomRight){
super((QPrivateConstructor)null);
initialize_native(this, topLeft, bottomRight);
}
private native static void initialize_native(QGeoRectangle instance, io.qt.positioning.QGeoCoordinate topLeft, io.qt.positioning.QGeoCoordinate bottomRight);
/**
* See QGeoRectangle:: QGeoRectangle(QGeoCoordinate, double, double)
*/
public QGeoRectangle(io.qt.positioning.@NonNull QGeoCoordinate center, double degreesWidth, double degreesHeight){
super((QPrivateConstructor)null);
initialize_native(this, center, degreesWidth, degreesHeight);
}
private native static void initialize_native(QGeoRectangle instance, io.qt.positioning.QGeoCoordinate center, double degreesWidth, double degreesHeight);
/**
* See QGeoRectangle:: QGeoRectangle(QGeoRectangle)
*/
public QGeoRectangle(io.qt.positioning.@NonNull QGeoRectangle other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QGeoRectangle instance, io.qt.positioning.QGeoRectangle other);
/**
* See QGeoRectangle:: QGeoRectangle(QGeoShape)
*/
public QGeoRectangle(io.qt.positioning.@NonNull QGeoShape other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QGeoRectangle instance, io.qt.positioning.QGeoShape other);
/**
* See QGeoRectangle:: QGeoRectangle(QList<QGeoCoordinate>)
*/
public QGeoRectangle(java.util.@NonNull Collection extends io.qt.positioning.@NonNull QGeoCoordinate> coordinates){
super((QPrivateConstructor)null);
initialize_native(this, coordinates);
}
private native static void initialize_native(QGeoRectangle instance, java.util.Collection extends io.qt.positioning.QGeoCoordinate> coordinates);
/**
* See QGeoRectangle:: bottomLeft()const
*/
@QtPropertyReader(name="bottomLeft")
@QtUninvokable
public final io.qt.positioning.@NonNull QGeoCoordinate bottomLeft(){
return bottomLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.positioning.QGeoCoordinate bottomLeft_native_constfct(long __this__nativeId);
/**
* See QGeoRectangle:: bottomRight()const
*/
@QtPropertyReader(name="bottomRight")
@QtUninvokable
public final io.qt.positioning.@NonNull QGeoCoordinate bottomRight(){
return bottomRight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.positioning.QGeoCoordinate bottomRight_native_constfct(long __this__nativeId);
/**
* See QGeoRectangle:: contains(QGeoRectangle)const
*/
@QtUninvokable
public final boolean contains(io.qt.positioning.@NonNull QGeoRectangle rectangle){
return contains_native_cref_QGeoRectangle_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rectangle));
}
@QtUninvokable
private native boolean contains_native_cref_QGeoRectangle_constfct(long __this__nativeId, long rectangle);
/**
* See QGeoRectangle:: extendRectangle(QGeoCoordinate)
*/
public final void extendRectangle(io.qt.positioning.@NonNull QGeoCoordinate coordinate){
extendRectangle_native_cref_QGeoCoordinate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(coordinate));
}
private native void extendRectangle_native_cref_QGeoCoordinate(long __this__nativeId, long coordinate);
/**
* See QGeoRectangle:: height()const
*/
@QtPropertyReader(name="height")
@QtUninvokable
public final double height(){
return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double height_native_constfct(long __this__nativeId);
/**
* See QGeoRectangle:: intersects(QGeoRectangle)const
*/
public final boolean intersects(io.qt.positioning.@NonNull QGeoRectangle rectangle){
return intersects_native_cref_QGeoRectangle_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rectangle));
}
private native boolean intersects_native_cref_QGeoRectangle_constfct(long __this__nativeId, long rectangle);
/**
* See operator<<(QDataStream&, QGeoRectangle)
*/
@QtUninvokable
public void writeTo(io.qt.core.@StrictNonNull QDataStream stream){
java.util.Objects.requireNonNull(stream, "Argument 'stream': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(stream));
}
@QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long stream);
/**
* See QGeoRectangle:: operator=(QGeoRectangle)
*/
@QtUninvokable
public final void assign(io.qt.positioning.@NonNull QGeoRectangle other){
assign_native_cref_QGeoRectangle(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QGeoRectangle(long __this__nativeId, long other);
/**
* See operator>>(QDataStream&, QGeoRectangle&)
*/
@QtUninvokable
public void readFrom(io.qt.core.@StrictNonNull QDataStream stream){
java.util.Objects.requireNonNull(stream, "Argument 'stream': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(stream));
}
@QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long stream);
/**
* See QGeoRectangle:: setBottomLeft(QGeoCoordinate)
*/
@QtPropertyWriter(name="bottomLeft")
@QtUninvokable
public final void setBottomLeft(io.qt.positioning.@NonNull QGeoCoordinate bottomLeft){
setBottomLeft_native_cref_QGeoCoordinate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(bottomLeft));
}
@QtUninvokable
private native void setBottomLeft_native_cref_QGeoCoordinate(long __this__nativeId, long bottomLeft);
/**
* See QGeoRectangle:: setBottomRight(QGeoCoordinate)
*/
@QtPropertyWriter(name="bottomRight")
@QtUninvokable
public final void setBottomRight(io.qt.positioning.@NonNull QGeoCoordinate bottomRight){
setBottomRight_native_cref_QGeoCoordinate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(bottomRight));
}
@QtUninvokable
private native void setBottomRight_native_cref_QGeoCoordinate(long __this__nativeId, long bottomRight);
/**
* See QGeoRectangle:: setCenter(QGeoCoordinate)
*/
@QtPropertyWriter(name="center")
@QtUninvokable
public final void setCenter(io.qt.positioning.@NonNull QGeoCoordinate center){
setCenter_native_cref_QGeoCoordinate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(center));
}
@QtUninvokable
private native void setCenter_native_cref_QGeoCoordinate(long __this__nativeId, long center);
/**
* See QGeoRectangle:: setHeight(double)
*/
@QtPropertyWriter(name="height")
@QtUninvokable
public final void setHeight(double degreesHeight){
setHeight_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), degreesHeight);
}
@QtUninvokable
private native void setHeight_native_double(long __this__nativeId, double degreesHeight);
/**
* See QGeoRectangle:: setTopLeft(QGeoCoordinate)
*/
@QtPropertyWriter(name="topLeft")
@QtUninvokable
public final void setTopLeft(io.qt.positioning.@NonNull QGeoCoordinate topLeft){
setTopLeft_native_cref_QGeoCoordinate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(topLeft));
}
@QtUninvokable
private native void setTopLeft_native_cref_QGeoCoordinate(long __this__nativeId, long topLeft);
/**
* See QGeoRectangle:: setTopRight(QGeoCoordinate)
*/
@QtPropertyWriter(name="topRight")
@QtUninvokable
public final void setTopRight(io.qt.positioning.@NonNull QGeoCoordinate topRight){
setTopRight_native_cref_QGeoCoordinate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(topRight));
}
@QtUninvokable
private native void setTopRight_native_cref_QGeoCoordinate(long __this__nativeId, long topRight);
/**
* See QGeoRectangle:: setWidth(double)
*/
@QtPropertyWriter(name="width")
@QtUninvokable
public final void setWidth(double degreesWidth){
setWidth_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), degreesWidth);
}
@QtUninvokable
private native void setWidth_native_double(long __this__nativeId, double degreesWidth);
/**
* See QGeoShape:: toString()const
*/
public final java.lang.@NonNull String toString(){
return toString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native java.lang.String toString_native_constfct(long __this__nativeId);
/**
* See QGeoRectangle:: topLeft()const
*/
@QtPropertyReader(name="topLeft")
@QtUninvokable
public final io.qt.positioning.@NonNull QGeoCoordinate topLeft(){
return topLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.positioning.QGeoCoordinate topLeft_native_constfct(long __this__nativeId);
/**
* See QGeoRectangle:: topRight()const
*/
@QtPropertyReader(name="topRight")
@QtUninvokable
public final io.qt.positioning.@NonNull QGeoCoordinate topRight(){
return topRight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.positioning.QGeoCoordinate topRight_native_constfct(long __this__nativeId);
/**
* See QGeoRectangle:: translate(double, double)
*/
public final void translate(double degreesLatitude, double degreesLongitude){
translate_native_double_double(QtJambi_LibraryUtilities.internal.nativeId(this), degreesLatitude, degreesLongitude);
}
private native void translate_native_double_double(long __this__nativeId, double degreesLatitude, double degreesLongitude);
/**
* See QGeoRectangle:: translated(double, double)const
*/
public final io.qt.positioning.@NonNull QGeoRectangle translated(double degreesLatitude, double degreesLongitude){
return translated_native_double_double_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), degreesLatitude, degreesLongitude);
}
private native io.qt.positioning.QGeoRectangle translated_native_double_double_constfct(long __this__nativeId, double degreesLatitude, double degreesLongitude);
/**
* See QGeoRectangle:: united(QGeoRectangle)const
*/
public final io.qt.positioning.@NonNull QGeoRectangle united(io.qt.positioning.@NonNull QGeoRectangle rectangle){
return united_native_cref_QGeoRectangle_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rectangle));
}
private native io.qt.positioning.QGeoRectangle united_native_cref_QGeoRectangle_constfct(long __this__nativeId, long rectangle);
/**
* See QGeoRectangle:: width()const
*/
@QtPropertyReader(name="width")
@QtUninvokable
public final double width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double width_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QGeoRectangle(QPrivateConstructor p) { super(p); }
/**
* Returns the objects's hash code computed by qHash(QGeoRectangle)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QGeoRectangle:: QGeoRectangle(QGeoRectangle)
*/
@QtUninvokable
@Override
public QGeoRectangle clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QGeoRectangle clone_native(long __this_nativeId);
/**
* @hidden
* Kotlin property getter. In Java use {@link #bottomLeft()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.positioning.@NonNull QGeoCoordinate getBottomLeft() {
return bottomLeft();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #bottomRight()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.positioning.@NonNull QGeoCoordinate getBottomRight() {
return bottomRight();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #height()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getHeight() {
return height();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #topLeft()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.positioning.@NonNull QGeoCoordinate getTopLeft() {
return topLeft();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #topRight()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.positioning.@NonNull QGeoCoordinate getTopRight() {
return topRight();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #width()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getWidth() {
return width();
}
}