All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.positioning.QGeoCircle Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.positioning;

import io.qt.*;


/**
 * 

Defines a circular geographic area

*

Java wrapper for Qt class QGeoCircle

*/ public class QGeoCircle 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(QGeoCircle.class); /** *

See QGeoCircle::QGeoCircle()

*/ public QGeoCircle(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QGeoCircle instance); /** *

See QGeoCircle::QGeoCircle(QGeoCircle)

*/ public QGeoCircle(io.qt.positioning.@NonNull QGeoCircle other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QGeoCircle instance, io.qt.positioning.QGeoCircle other); /** *

See QGeoCircle::QGeoCircle(QGeoCoordinate,qreal)

*/ public QGeoCircle(io.qt.positioning.@NonNull QGeoCoordinate center, double radius){ super((QPrivateConstructor)null); initialize_native(this, center, radius); } private native static void initialize_native(QGeoCircle instance, io.qt.positioning.QGeoCoordinate center, double radius); /** *

See QGeoCircle::QGeoCircle(QGeoShape)

*/ public QGeoCircle(io.qt.positioning.@NonNull QGeoShape other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QGeoCircle instance, io.qt.positioning.QGeoShape other); /** *

See QGeoCircle::extendCircle(QGeoCoordinate)

*/ public final void extendCircle(io.qt.positioning.@NonNull QGeoCoordinate coordinate){ extendCircle_native_cref_QGeoCoordinate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(coordinate)); } private native void extendCircle_native_cref_QGeoCoordinate(long __this__nativeId, long coordinate); /** *

See operator<<(QDataStream&,QGeoCircle)

*/ @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 QGeoCircle::operator=(QGeoCircle)

*/ @QtUninvokable public final void assign(io.qt.positioning.@NonNull QGeoCircle other){ assign_native_cref_QGeoCircle(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QGeoCircle(long __this__nativeId, long other); /** *

See operator>>(QDataStream&,QGeoCircle&)

*/ @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 QGeoCircle::radius()const

*/ @QtPropertyReader(name="radius") @QtUninvokable public final double radius(){ return radius_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double radius_native_constfct(long __this__nativeId); /** *

See QGeoCircle::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 QGeoCircle::setRadius(qreal)

*/ @QtPropertyWriter(name="radius") @QtUninvokable public final void setRadius(double radius){ setRadius_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), radius); } @QtUninvokable private native void setRadius_native_qreal(long __this__nativeId, double radius); /** *

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 QGeoCircle::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 QGeoCircle::translated(double,double)const

*/ public final io.qt.positioning.@NonNull QGeoCircle translated(double degreesLatitude, double degreesLongitude){ return translated_native_double_double_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), degreesLatitude, degreesLongitude); } private native io.qt.positioning.QGeoCircle translated_native_double_double_constfct(long __this__nativeId, double degreesLatitude, double degreesLongitude); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QGeoCircle(QPrivateConstructor p) { super(p); } /** * Returns the objects's hash code computed by qHash(QGeoCircle). */ @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 QGeoCircle::QGeoCircle(QGeoCircle)

*/ @QtUninvokable @Override public QGeoCircle clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QGeoCircle clone_native(long __this_nativeId); /** *

Overloaded constructor for {@link #QGeoCircle(io.qt.positioning.QGeoCoordinate, double)} * with radius = -1.0.

*/ public QGeoCircle(io.qt.positioning.@NonNull QGeoCoordinate center) { this(center, (double)-1.0); } /** * @hidden *

Kotlin property getter. In Java use {@link #radius()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getRadius() { return radius(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy