java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.positioning.QGeoCoordinate
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QGeoCoordinate extends QtObject implements Cloneable
Defines a geographical position on the surface of the Earth
Java wrapper for Qt class QGeoCoordinate
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QGeoCoordinate.CoordinateFormat
Java wrapper for Qt enum QGeoCoordinate::CoordinateFormatstatic class
QGeoCoordinate.CoordinateType
Java wrapper for Qt enum QGeoCoordinate::CoordinateType -
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QGeoCoordinate()
QGeoCoordinate(double latitude, double longitude)
QGeoCoordinate(double latitude, double longitude, double altitude)
QGeoCoordinate(QGeoCoordinate other)
protected
QGeoCoordinate(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description double
altitude()
QGeoCoordinate
atDistanceAndAzimuth(double distance, double azimuth)
Overloaded function foratDistanceAndAzimuth(double, double, double)
withdistanceUp = 0.0
.QGeoCoordinate
atDistanceAndAzimuth(double distance, double azimuth, double distanceUp)
double
azimuthTo(QGeoCoordinate other)
QGeoCoordinate
clone()
double
distanceTo(QGeoCoordinate other)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
boolean
isValid()
double
latitude()
double
longitude()
void
readFrom(QDataStream stream)
void
setAltitude(double altitude)
void
setLatitude(double latitude)
void
setLongitude(double longitude)
String
toString()
Overloaded function fortoString(io.qt.positioning.QGeoCoordinate.CoordinateFormat)
withformat = io.qt.positioning.QGeoCoordinate.CoordinateFormat.DegreesMinutesSecondsWithHemisphere
.String
toString(QGeoCoordinate.CoordinateFormat format)
QGeoCoordinate.CoordinateType
type()
void
writeTo(QDataStream stream)
-
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) -
QGeoCoordinate
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
altitude
-
atDistanceAndAzimuth
Overloaded function for
atDistanceAndAzimuth(double, double, double)
withdistanceUp = 0.0
. -
atDistanceAndAzimuth
public final QGeoCoordinate atDistanceAndAzimuth(double distance, double azimuth, double distanceUp) -
azimuthTo
-
distanceTo
-
isValid
-
latitude
-
longitude
-
writeTo
-
readFrom
-
setAltitude
-
setLatitude
-
setLongitude
-
toString
Overloaded function for
toString(io.qt.positioning.QGeoCoordinate.CoordinateFormat)
withformat = io.qt.positioning.QGeoCoordinate.CoordinateFormat.DegreesMinutesSecondsWithHemisphere
. -
toString
-
type
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-