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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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) boolean
final double
Kotlin property getter.final double
Kotlin property getter.final double
Kotlin property getter.int
hashCode()
Returns the objects's hash code computed byqHash(QGeoCoordinate)
.final boolean
isValid()
final double
latitude()
final double
void
readFrom
(QDataStream stream) Seeoperator>>(QDataStream&,
QGeoCoordinate&) final void
setAltitude
(double altitude) final void
setLatitude
(double latitude) final void
setLongitude
(double longitude) 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) Seeoperator<<(QDataStream&,
QGeoCoordinate) 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
See
operator<<(QDataStream&,
QGeoCoordinate) -
assign
-
readFrom
See
operator>>(QDataStream&,
QGeoCoordinate&) -
setAltitude
-
setLatitude
-
setLongitude
-
toString
-
type
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QGeoCoordinate)
. -
clone
Creates and returns a copy of this object.
-
getAltitude
Kotlin property getter. In Java use
altitude()
instead. -
atDistanceAndAzimuth
Overloaded function for
atDistanceAndAzimuth(double, double, double)
withdistanceUp = 0.0
. -
getLatitude
Kotlin property getter. In Java use
latitude()
instead. -
getLongitude
Kotlin property getter. In Java use
longitude()
instead. -
toString
Overloaded function for
toString(io.qt.positioning.QGeoCoordinate.CoordinateFormat)
withformat = io.qt.positioning.QGeoCoordinate.CoordinateFormat.DegreesMinutesSecondsWithHemisphere
.
-