geoPolygon QML Value Type
Der Typ „geoPolygon“ stellt ein geografisches Polygon dar. Mehr dazu...
| Import Statement: | import QtPositioning |
Eigenschaften
- path : list<geoCoordinate>
Ausführliche Beschreibung
Der Typ „geoPolygon“ ist ein „ geoShape “, der ein geografisches Polygon darstellt. Er ist eine direkte Darstellung von „ QGeoPolygon “ und wird anhand eines „ path “ definiert, das eine Liste von „geoCoordinates“ innerhalb des Polygons enthält.
Das Polygon gilt als ungültig, wenn sein Pfad weniger als drei Koordinaten enthält.
Bei der Integration mit C++ ist zu beachten, dass jeder an QML übergebene QGeoPolygon -Wert automatisch in ein geoPolygon konvertiert wird und umgekehrt.
Dokumentation zu den Eigenschaften
path : list<geoCoordinate>
Diese Eigenschaft enthält die Liste der Koordinaten, die das Polygon definieren.
© 2026 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.