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.