java.lang.Object
io.qt.QtObject
io.qt.positioning.QGeoShape
io.qt.positioning.QGeoCircle
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines a circular geographic area
Java wrapper for Qt class QGeoCircle
- Since:
- This class was introduced in Qt 5.2.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.positioning.QGeoShape
QGeoShape.ShapeType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionQGeoCircle
(QGeoCircle other) QGeoCircle
(QGeoCoordinate center) Overloaded constructor forQGeoCircle(io.qt.positioning.QGeoCoordinate, double)
withradius = -1.0
.QGeoCircle
(QGeoCoordinate center, double radius) QGeoCircle
(QGeoShape other) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QGeoCircle other) clone()
Creates and returns a copy of this object.final boolean
equals
(QGeoCircle other) boolean
final void
extendCircle
(QGeoCoordinate coordinate) int
hashCode()
Returns the objects's hash code computed byqHash(QGeoCircle)
.final double
radius()
final void
setCenter
(QGeoCoordinate center) final void
setRadius
(double radius) final String
toString()
final void
translate
(double degreesLatitude, double degreesLongitude) final QGeoCircle
translated
(double degreesLatitude, double degreesLongitude) Methods inherited from class io.qt.positioning.QGeoShape
assign, boundingGeoRectangle, center, contains, equals, extendShape, isEmpty, isValid, readFrom, type, writeTo
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QGeoCircle
public QGeoCircle() -
QGeoCircle
- Parameters:
other
-
-
QGeoCircle
- Parameters:
center
-radius
-
-
QGeoCircle
- Parameters:
other
-
-
QGeoCircle
Overloaded constructor for
QGeoCircle(io.qt.positioning.QGeoCoordinate, double)
withradius = -1.0
.
-
-
Method Details
-
extendCircle
- Parameters:
coordinate
-- Since:
- This function was introduced in Qt 5.9.
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
radius
- Returns:
-
setCenter
- Parameters:
center
-
-
setRadius
- Parameters:
radius
-
-
toString
-
translate
public final void translate(double degreesLatitude, double degreesLongitude) - Parameters:
degreesLatitude
-degreesLongitude
-
-
translated
- Parameters:
degreesLatitude
-degreesLongitude
-- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QGeoCircle)
. -
clone
Creates and returns a copy of this object.
-