Home
last modified time | relevance | path

Searched refs:convertPoint (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/geometry/
H A Dfeature_index.cpp35 {convertPoint<float>(envelope.min), convertPoint<float>(envelope.max)}); in insert()
62 …std::vector<IndexedSubfeature> features = grid.query({ convertPoint<float>(box.min - additionalPad… in query()
63convertPoint<float>(box.max + additionalPadding) }); in query()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/buckets/
H A Dline_bucket.cpp115 … nextNormal = util::perp(util::unit(convertPoint<double>(firstCoordinate - *currentCoordinate))); in addGeometry()
150 …nextNormal = nextCoordinate ? util::perp(util::unit(convertPoint<double>(*nextCoordinate - *curren… in addGeometry()
192 …metryCoordinate newPrevVertex = *currentCoordinate - convertPoint<int16_t>(util::round(convertPoin… in addGeometry()
365 …ryCoordinate newCurrentVertex = *currentCoordinate + convertPoint<int16_t>(util::round(convertPoin… in addGeometry()
H A Dfill_extrusion_bucket.cpp101 const auto d1 = convertPoint<double>(p1); in addFeature()
102 const auto d2 = convertPoint<double>(p2); in addFeature()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/
H A Drender_line_layer.cpp163 util::perp(util::unit(convertPoint<double>(p - *(i - 1)))); in offsetLine()
166 util::perp(util::unit(convertPoint<double>(*(i + 1) - p))); in offsetLine()
172 newRing.push_back(convertPoint<int16_t>(extrude * offset) + p); in offsetLine()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dcollision_feature.cpp35 GeometryCoordinate anchorPoint = convertPoint<int16_t>(anchor.point); in CollisionFeature()
136 …boxes.emplace_back(boxAnchor, boxAnchor - convertPoint<float>(anchorPoint), -boxSize / 2, -boxSize… in bboxifyLabel()
H A Dcheck_max_angle.cpp24 GeometryCoordinate anchorPoint = convertPoint<int16_t>(anchor.point); in checkMaxAngle()
H A Dcollision_index.cpp251 integerPolygon.push_back(convertPoint<int16_t>(point)); in polygonIntersectsBox()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/
H A Dsymbol_projection.cpp195 …PointAndCameraDistance projection = project(convertPoint<float>(line.at(currentIndex)), labelPlane… in placeGlyphAlongLine()
203 convertPoint<float>(line.at(currentIndex - dir)); in placeGlyphAlongLine()
204 const Point<float> currentTilePoint = convertPoint<float>(line.at(currentIndex)); in placeGlyphAlongLine()
330 … const Point<float> tileSegmentEnd = convertPoint<float>(symbol.line.at(symbol.segment + 1)); in placeGlyphsAlongLine()
H A Dsymbol_layout.cpp350 r.push_back(convertPoint<double>(p)); in addFeature()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Dintersection_tests.cpp26 return util::distSqr<float>(p, convertPoint<float>(w - v) * t + convertPoint<float>(v)); in distToSegmentSquared()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dgeometry.hpp41 Point<S> convertPoint(const Point<T>& p) { in convertPoint() function