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
-
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 void
extendCircle
(QGeoCoordinate coordinate) int
hashCode()
Returns the objects's hash code computed byqHash(QGeoCircle)
.final double
radius()
void
readFrom
(QDataStream stream) Seeoperator>>(QDataStream&,
QGeoCircle&) 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) void
writeTo
(QDataStream stream) Methods inherited from class io.qt.positioning.QGeoShape
assign, boundingGeoRectangle, center, contains, equals, equals, isEmpty, isValid, type
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
-
QGeoCircle
-
QGeoCircle
-
QGeoCircle
Overloaded constructor for
QGeoCircle(io.qt.positioning.QGeoCoordinate, double)
withradius = -1.0
.
-
-
Method Details
-
extendCircle
-
writeTo
-
assign
-
readFrom
See
operator>>(QDataStream&,
QGeoCircle&) -
radius
-
setCenter
-
setRadius
-
toString
-
translate
public final void translate(double degreesLatitude, double degreesLongitude) -
translated
-
hashCode
Returns the objects's hash code computed byqHash(QGeoCircle)
. -
clone
Creates and returns a copy of this object.
-