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(coordinate center, real radius) |
center を中心とし、半径がradius メートルのジオサークルを構築します。
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(list<coordinate> coordinates, real width) |
座標と幅からジオパスを構築します。
geopathも参照して ください。
geopolygon polygon() |
空の多角形を作成します。
geopolygonも参照して ください。
geopolygon polygon(list<coordinate> coordinates) |
座標から多角形を作成します。
geopolygonも参照して ください。
geopolygon polygon(list<coordinate> perimeter, list<list<coordinate>> holes) |
座標から多角形を作成します。
geopolygonも参照して ください。
georectangle rectangle() |
無効なジオレクタングルを構築します。
georectangleも参照して ください。
georectangle rectangle(list<coordinate> coordinates) |
座標のリストからジオレクタングルを構築します。
georectangleも参照して ください。
georectangle rectangle(coordinate topLeft, coordinate bottomRight) |
左上隅がtopLeft に位置し、右下隅がbottomRight に位置するジオレク タングルを構築します。
georectangleも参照して ください。
georectangle rectangle(coordinate center, real width, real height) |
center を中心とし、幅がwidth 度、高さがheight 度であるジオレク タングルを構築します。
georectangleも参照して ください。
geopolygon shapeToPolygon(geoshape shape) |
shape をポリゴンに変換します。
geopolygon も参照 。
georectangle shapeToRectangle(geoshape shape) |
shape をジオレクタングルに変換します。
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.