QtPositioning QML Type
Das globale Objekt QtPositioning bietet nützliche Funktionen für die Arbeit mit ortsbezogenen Typen in QML. Mehr...
Import Statement: | import QtPositioning |
Methoden
- geocircle circle()
- geocircle circle(coordinate center, real radius)
- point coordToMercator(coordinate coord)
- coordinate coordinate()
- coordinate coordinate(real latitude, real longitude, real altitude)
- coordinate mercatorToCoord(point mercator)
- geopath path()
- geopath path(list<coordinate> coordinates, real width)
- geopolygon polygon()
- geopolygon polygon(list<coordinate> coordinates)
- geopolygon polygon(list<coordinate> perimeter, list<list<coordinate>> holes)
- georectangle rectangle()
- georectangle rectangle(list<coordinate> coordinates)
- georectangle rectangle(coordinate topLeft, coordinate bottomRight)
- georectangle rectangle(coordinate center, real width, real height)
- geoshape shape()
- geocircle shapeToCircle(geoshape shape)
- geopath shapeToPath(geoshape shape)
- geopolygon shapeToPolygon(geoshape shape)
- georectangle shapeToRectangle(geoshape shape)
Detaillierte Beschreibung
Methode Dokumentation
geocircle circle(coordinate center, real radius) |
Konstruiert einen Geokreis mit center als Mittelpunkt und einem Radius von radius Metern.
point coordToMercator(coordinate coord) |
Konvertiert eine Koordinate coord in eine Mercator-Koordinate und gibt sie zurück.
Siehe auch mercatorToCoord.
coordinate coordinate() |
Konstruiert eine ungültige Koordinate.
coordinate coordinate(real latitude, real longitude, real altitude) |
Konstruiert eine Koordinate mit den angegebenen latitude, longitude und optional altitude. Sowohl latitude als auch longitude müssen gültig sein, andernfalls wird eine ungültige Koordinate zurückgegeben.
Siehe auch coordinate.
coordinate mercatorToCoord(point mercator) |
Konvertiert eine mercator -Koordinate in eine Breitengrad-Längengrad-Koordinate.
Siehe auch coordToMercator.
geopath path(list<coordinate> coordinates, real width) |
Konstruiert einen Geopfad aus Koordinaten und Breite.
Siehe auch geopath.
geopolygon polygon() |
Konstruiert ein leeres Polygon.
Siehe auch geopolygon.
geopolygon polygon(list<coordinate> coordinates) |
Konstruiert ein Polygon aus Koordinaten.
Siehe auch geopolygon.
geopolygon polygon(list<coordinate> perimeter, list<list<coordinate>> holes) |
Konstruiert ein Polygon aus Koordinaten für Umfang und innere Löcher.
Siehe auch geopolygon.
georectangle rectangle() |
Konstruiert ein ungültiges Geodreieck.
Siehe auch georectangle.
georectangle rectangle(list<coordinate> coordinates) |
Konstruiert ein Geodreieck aus der Liste der Koordinaten. Die zurückgegebene Liste ist die kleinstmögliche, die alle Koordinaten enthält.
Siehe auch georectangle.
georectangle rectangle(coordinate topLeft, coordinate bottomRight) |
Konstruiert ein Geodreieck, dessen linke obere Ecke auf topLeft und dessen rechte untere Ecke auf bottomRight positioniert ist.
Siehe auch georectangle.
georectangle rectangle(coordinate center, real width, real height) |
Konstruiert ein Geodreieck mit dem Mittelpunkt center, einer Breite von width und einer Höhe von height.
Siehe auch georectangle.
geopolygon shapeToPolygon(geoshape shape) |
Konvertiert shape in ein Polygon.
Siehe auch geopolygon.
georectangle shapeToRectangle(geoshape shape) |
Konvertiert shape in ein Geodreieck.
Siehe auch georectangle.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.