Home
last modified time | relevance | path

Searched refs:wrappedProjection (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeoprojection.cpp333 …or2D QGeoProjectionWebMercator::unwrapMapProjection(const QDoubleVector2D &wrappedProjection) const in unwrapMapProjection()
335 double x = wrappedProjection.x(); in unwrapMapProjection()
337 return QDoubleVector2D(x - 1.0, wrappedProjection.y()); in unwrapMapProjection()
339 return QDoubleVector2D(x + 1.0, wrappedProjection.y()); in unwrapMapProjection()
340 return wrappedProjection; in unwrapMapProjection()
343 …tionWebMercator::wrappedMapProjectionToItemPosition(const QDoubleVector2D &wrappedProjection) const in wrappedMapProjectionToItemPosition()
345 return (m_transformation * wrappedProjection).toVector2D(); in wrappedMapProjectionToItemPosition()
399 QDoubleVector2D wrappedProjection = wrapMapProjection(geoToMapProjection(coordinate)); in coordinateToItemPosition() local
400 if (!isProjectable(wrappedProjection)) in coordinateToItemPosition()
403 QDoubleVector2D pos = wrappedMapProjectionToItemPosition(wrappedProjection); in coordinateToItemPosition()
[all …]
H A Dqgeoprojection_p.h167 QDoubleVector2D unwrapMapProjection(const QDoubleVector2D &wrappedProjection) const;
169 …QDoubleVector2D wrappedMapProjectionToItemPosition(const QDoubleVector2D &wrappedProjection) const;
173 QGeoCoordinate wrappedMapProjectionToGeo(const QDoubleVector2D &wrappedProjection) const;
176 bool isProjectable(const QDoubleVector2D &wrappedProjection) const;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativepolygonmapitem.cpp187 QDoubleVector2D wrappedProjection = p.wrapMapProjection(coord); in updateSourcePoints() local
191 if (!qIsFinite(wrappedProjection.x()) || !qIsFinite(wrappedProjection.y())) in updateSourcePoints()
194 const bool isPointLessThanUnwrapBelowX = (wrappedProjection.x() < leftBoundWrapped.x()); in updateSourcePoints()
197 double distance = wrappedProjection.x() - unwrapBelowX; in updateSourcePoints()
200 wrappedProjection.setX(unwrapBelowX + distance); in updateSourcePoints()
202 …if (wrappedProjection.x() < wrappedLeftBound.x() || (wrappedProjection.x() == wrappedLeftBound.x()… in updateSourcePoints()
203 wrappedLeftBound = wrappedProjection; in updateSourcePoints()
205 wrappedPath.append(wrappedProjection); in updateSourcePoints()
H A Dqdeclarativegeomapitembase.cpp189 QDoubleVector2D wrappedProjection = p.geoToWrappedMapProjection(coordinate); in setPositionOnMap() local
190 if (!p.isProjectable(wrappedProjection)) in setPositionOnMap()
192 pos = p.wrappedMapProjectionToItemPosition(wrappedProjection); in setPositionOnMap()
H A Dqdeclarativepolylinemapitem.cpp414 QDoubleVector2D wrappedProjection = p.wrapMapProjection(coord); in clipPath() local
418 if (!qIsFinite(wrappedProjection.x()) || !qIsFinite(wrappedProjection.y())) in clipPath()
421 const bool isPointLessThanUnwrapBelowX = (wrappedProjection.x() < leftBoundWrapped.x()); in clipPath()
424 double distance = wrappedProjection.x() - unwrapBelowX; in clipPath()
427 wrappedProjection.setX(unwrapBelowX + distance); in clipPath()
429 …if (wrappedProjection.x() < wrappedLeftBound.x() || (wrappedProjection.x() == wrappedLeftBound.x()… in clipPath()
430 wrappedLeftBound = wrappedProjection; in clipPath()
432 wrappedPath.append(wrappedProjection); in clipPath()