java.lang.Object
io.qt.QtObject
io.qt.positioning.QGeoCoordinate
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines a geographical position on the surface of the Earth
Java wrapper for Qt class QGeoCoordinate
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQGeoCoordinate::CoordinateFormat
static enum
Java wrapper for Qt enumQGeoCoordinate::CoordinateType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionQGeoCoordinate
(double latitude, double longitude) QGeoCoordinate
(double latitude, double longitude, double altitude) QGeoCoordinate
(QGeoCoordinate other) -
Method Summary
Modifier and TypeMethodDescriptionfinal double
altitude()
final void
assign
(QGeoCoordinate other) final QGeoCoordinate
atDistanceAndAzimuth
(double distance, double azimuth) Overloaded function foratDistanceAndAzimuth(double, double, double)
withdistanceUp = 0.0
.final QGeoCoordinate
atDistanceAndAzimuth
(double distance, double azimuth, double distanceUp) final double
azimuthTo
(QGeoCoordinate other) clone()
Creates and returns a copy of this object.final double
distanceTo
(QGeoCoordinate other) final boolean
equals
(QGeoCoordinate rhs) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QGeoCoordinate)
.final boolean
isValid()
final double
latitude()
final double
void
readFrom
(QDataStream stream) final void
setAltitude
(double altitude) final void
setLatitude
(double latitude) final void
setLongitude
(double longitude) final void
swap
(QGeoCoordinate other) SeeQGeoCoordinate::
swap(QGeoCoordinate&) final String
toString()
Overloaded function fortoString(io.qt.positioning.QGeoCoordinate.CoordinateFormat)
withformat = io.qt.positioning.QGeoCoordinate.CoordinateFormat.DegreesMinutesSecondsWithHemisphere
.final String
type()
void
writeTo
(QDataStream stream) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QGeoCoordinate
public QGeoCoordinate() -
QGeoCoordinate
-
QGeoCoordinate
public QGeoCoordinate(double latitude, double longitude) -
QGeoCoordinate
public QGeoCoordinate(double latitude, double longitude, double altitude)
-
-
Method Details
-
altitude
-
atDistanceAndAzimuth
public final QGeoCoordinate atDistanceAndAzimuth(double distance, double azimuth, double distanceUp) -
azimuthTo
-
distanceTo
-
isValid
-
latitude
-
longitude
-
writeTo
-
assign
-
equals
-
readFrom
-
setAltitude
-
setLatitude
-
setLongitude
-
swap
See
QGeoCoordinate::
swap(QGeoCoordinate&) -
toString
-
type
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QGeoCoordinate)
. -
clone
Creates and returns a copy of this object.
-
atDistanceAndAzimuth
Overloaded function for
atDistanceAndAzimuth(double, double, double)
withdistanceUp = 0.0
. -
toString
Overloaded function for
toString(io.qt.positioning.QGeoCoordinate.CoordinateFormat)
withformat = io.qt.positioning.QGeoCoordinate.CoordinateFormat.DegreesMinutesSecondsWithHemisphere
.
-