QtPositioning QML Type
QtPositioning グローバルオブジェクトは、QML で位置情報を扱うための便利な関数を提供します。詳細...
| Import Statement: | import QtPositioning |
メソッド
- 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)
詳細説明
メソッドの説明
geoCircle circle()
無効なgeoCircle を構築する。
geoCircleも参照 。
geoCircle circle(coordinate center, real radius)
center を中心とした半径radius メートルのgeoCircle を構築する。
point coordToMercator(coordinate coord)
座標coord をメルカ ト ル座標に変換 し て返 し ます。
mercatorToCoordも参照 。
coordinate coordinate()
無効な座標を構築します。
coordinate coordinate(real latitude, real longitude, real altitude)
指定されたlatitude 、longitude およびオプ シ ョ ンのaltitude を持つ座標を構築 し ます。latitude とlongitude の両方が有効でなければな り ません。 そ う でなければ無効な座標が返 さ れます。
coordinateも参照。
coordinate mercatorToCoord(point mercator)
mercator 座標を緯度経度座標に変換 し ます。
coordToMercatorも参照 。
geoPath path()
空のgeoPath を構築します。
geoPathも参照してください 。
geoPath path(list<coordinate> coordinates, real width)
座標と幅からgeoPath を構築する。
geoPathも参照 。
geoPolygon polygon()
空の多角形を構築します。
geoPolygonも参照してください 。
geoPolygon polygon(list<coordinate> coordinates)
座標から多角形を構築します。
geoPolygonも参照してください 。
geoPolygon polygon(list<coordinate> perimeter, list<list<coordinate>> holes)
外周と内孔の座標から多角形を構築します。
geoPolygonも参照してください 。
geoRectangle rectangle()
無効なgeoRectangle を構築する。
geoRectangleも参照 。
geoRectangle rectangle(list<coordinate> coordinates)
座標のリストからgeoRectangle を構築します。返されるリストは、すべての座標を含む最小のものです。
geoRectangleも参照してください 。
geoRectangle rectangle(coordinate topLeft, coordinate bottomRight)
左上隅をtopLeft に、右下隅をbottomRight に配置したgeoRectangle を構築します。
geoRectangleも参照。
geoRectangle rectangle(coordinate center, real width, real height)
center を中心とし、幅がwidth 度、高さがheight 度のgeoRectangle を構築する。
geoRectangleも参照のこと 。
geoShape shape()
無効なgeoShape を構築する。
geoShapeも参照 。
geoCircle shapeToCircle(geoShape shape)
shape をgeoCircle に変換する。
geoCircleも参照 。
geoPath shapeToPath(geoShape shape)
shape をgeoPath に変換する。
geoPathも参照 。
geoPolygon shapeToPolygon(geoShape shape)
shape を多角形に変換します。
geoPolygonも参照 。
geoRectangle shapeToRectangle(geoShape shape)
shape をgeoRectangle に変換する。
geoRectangleも参照 。
© 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.