Home
last modified time | relevance | path

Searched refs:DEG2RAD (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dprojection.hpp51 …return std::cos(constrainedLatitude * util::DEG2RAD) * util::M2PI * util::EARTH_RADIUS_M / worldSi… in getMetersPerPixelAtLatitude()
59 const double f = util::clamp(std::sin(util::DEG2RAD * constrainedLatitude), -m, m); in projectedMetersForLatLng()
61 const double easting = util::EARTH_RADIUS_M * constrainedLongitude * util::DEG2RAD; in projectedMetersForLatLng()
89 …til::DEGREES_MAX / M_PI * std::atan(std::exp((util::LONGITUDE_MAX - p2.y) * util::DEG2RAD)) - 90.0, in unproject()
H A Dconstants.hpp29 constexpr double DEG2RAD = M_PI / 180.0; variable
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/style/
H A Dposition.hpp59 const float _a = (azimuthal + 90) * util::DEG2RAD; in calculateCartesian()
60 const float _p = polar * util::DEG2RAD; in calculateCartesian()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dmap.cpp438 double angle = -*bearing * util::DEG2RAD; // Convert to radians in cameraForLatLngs()
442 double pitchAsRadian = *pitch * util::DEG2RAD; // Convert to radians in cameraForLatLngs()
513 impl->transform.setMinPitch(minPitch * util::DEG2RAD); in setMinPitch()
524 impl->transform.setMaxPitch(maxPitch * util::DEG2RAD); in setMaxPitch()
560 impl->transform.setAngle(-degrees * util::DEG2RAD, anchor, animation); in setBearing()
566 impl->transform.setAngle(-degrees * util::DEG2RAD, padding, animation); in setBearing()
589 impl->transform.setPitch(pitch * util::DEG2RAD, anchor, animation); in setPitch()
H A Dtransform_state.cpp391 const double f = util::clamp(std::sin(util::DEG2RAD * constrained.latitude()), -m, m); in setLatLngZoom()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/
H A Drender_raster_layer.cpp61 spin *= util::DEG2RAD; in spinWeights()
H A Drender_hillshade_layer.cpp39 float azimuthal = evaluated.get<HillshadeIlluminationDirection>() * util::DEG2RAD; in getLight()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dquads.cpp98 const float textRotate = layout.get<TextRotate>() * util::DEG2RAD; in getGlyphQuads()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/
H A Dsymbol_layout.cpp214 layout.evaluate<IconRotate>(zoom, feature) * util::DEG2RAD); in prepare()
268 const float textMaxAngle = layout.get<TextMaxAngle>() * util::DEG2RAD; in addFeature()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/qt/src/
H A Dqmapboxgl.cpp808 mbglCamera.angle = -camera.angle.value<double>() * mbgl::util::DEG2RAD; in jumpTo()
811 mbglCamera.pitch = camera.pitch.value<double>() * mbgl::util::DEG2RAD; in jumpTo()