Home
last modified time | relevance | path

Searched refs:mapbox (Results 1 – 25 of 125) sorted by relevance

12345

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3/include/mapbox/geometry/wagyu/
H A Dquick_clip.hpp8 namespace mapbox { namespace
14 mapbox::geometry::point<T> intersect(mapbox::geometry::point<T> a, in intersect()
15 mapbox::geometry::point<T> b, in intersect()
17 mapbox::geometry::box<T> const& box) { in intersect()
20 return mapbox::geometry::point<T>( in intersect()
21mapbox::geometry::wagyu::wround<T>(static_cast<double>(a.x) + static_cast<double>(b.x - a.x) * sta… in intersect()
25 return mapbox::geometry::point<T>( in intersect()
27mapbox::geometry::wagyu::wround<T>(static_cast<double>(a.y) + static_cast<double>(b.y - a.y) * sta… in intersect()
30 return mapbox::geometry::point<T>( in intersect()
31mapbox::geometry::wagyu::wround<T>(static_cast<double>(a.x) + static_cast<double>(b.x - a.x) * sta… in intersect()
[all …]
H A Dutil.hpp9 namespace mapbox { namespace
14 double area(mapbox::geometry::linear_ring<T> const& poly) { in area()
46 bool slopes_equal(mapbox::geometry::point<T> const& pt1, in slopes_equal()
47 mapbox::geometry::point<T> const& pt2, in slopes_equal()
48 mapbox::geometry::point<T> const& pt3) { in slopes_equal()
53 bool slopes_equal(mapbox::geometry::wagyu::point<T> const& pt1, in slopes_equal()
54 mapbox::geometry::wagyu::point<T> const& pt2, in slopes_equal()
55 mapbox::geometry::point<T> const& pt3) { in slopes_equal()
60 bool slopes_equal(mapbox::geometry::wagyu::point<T> const& pt1, in slopes_equal()
61 mapbox::geometry::wagyu::point<T> const& pt2, in slopes_equal()
[all …]
H A Dbuild_edges.hpp11 namespace mapbox { namespace
16 bool point_2_is_between_point_1_and_point_3(mapbox::geometry::point<T> const& pt1, in point_2_is_between_point_1_and_point_3()
17 mapbox::geometry::point<T> const& pt2, in point_2_is_between_point_1_and_point_3()
18 mapbox::geometry::point<T> const& pt3) { in point_2_is_between_point_1_and_point_3()
29 bool build_edge_list(mapbox::geometry::linear_ring<T2> const& path_geometry, edge_list<T1>& edges) { in build_edge_list()
40 mapbox::geometry::point<T2> pt1 = *itr_rev; in build_edge_list()
41 mapbox::geometry::point<T2> pt2 = *itr; in build_edge_list()
53 mapbox::geometry::point<T2> pt3 = *itr; in build_edge_list()
55 mapbox::geometry::point<T2> front_pt; in build_edge_list()
56 mapbox::geometry::point<T2> back_pt; in build_edge_list()
[all …]
H A Dwagyu.hpp25 namespace mapbox { namespace
47 bool add_ring(mapbox::geometry::linear_ring<T2> const& pg, in add_ring()
53 bool add_polygon(mapbox::geometry::polygon<T2> const& ppg, in add_polygon()
72 mapbox::geometry::box<T> get_bounds() { in get_bounds()
73 mapbox::geometry::point<T> min = { 0, 0 }; in get_bounds()
74 mapbox::geometry::point<T> max = { 0, 0 }; in get_bounds()
76 return mapbox::geometry::box<T>(min, max); in get_bounds()
113 return mapbox::geometry::box<T>(min, max); in get_bounds()
118 mapbox::geometry::multi_polygon<T2>& solution, in execute()
H A Dpoint.hpp9 namespace mapbox { namespace
46 point(ring_ptr<T> ring_, mapbox::geometry::point<T> const& pt) in point()
50 point(ring_ptr<T> ring_, mapbox::geometry::point<T> const& pt, point_ptr<T> before_this_point) in point()
69 bool operator==(mapbox::geometry::point<T> const& lhs, point<T> const& rhs) { in operator ==()
74 bool operator==(point<T> const& lhs, mapbox::geometry::point<T> const& rhs) { in operator ==()
84 bool operator!=(mapbox::geometry::point<T> const& lhs, point<T> const& rhs) { in operator !=()
89 bool operator!=(point<T> const& lhs, mapbox::geometry::point<T> const& rhs) { in operator !=()
104 const mapbox::geometry::point<T>& p) { in operator <<()
H A Dedge.hpp15 namespace mapbox { namespace
27 mapbox::geometry::point<T> bot;
28 mapbox::geometry::point<T> top;
42 edge(mapbox::geometry::point<T2> const& current, in edge()
43 mapbox::geometry::point<T2> const& next_pt) noexcept in edge()
48 top = mapbox::geometry::point<T>(static_cast<T>(next_pt.x), static_cast<T>(next_pt.y)); in edge()
50 bot = mapbox::geometry::point<T>(static_cast<T>(next_pt.x), static_cast<T>(next_pt.y)); in edge()
H A Dbuild_result.hpp8 namespace mapbox { namespace
13 void push_ring_to_polygon(mapbox::geometry::polygon<T2>& poly, in push_ring_to_polygon()
16 mapbox::geometry::linear_ring<T2> lr; in push_ring_to_polygon()
36 void build_result_polygons(mapbox::geometry::multi_polygon<T2>& solution, in build_result_polygons()
65 void build_result(mapbox::geometry::multi_polygon<T2>& solution, in build_result()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojson/0.4.2/include/mapbox/
H A Dgeojson.hpp6 namespace mapbox { namespace
9 using value = mapbox::geometry::value;
10 using null_value_t = mapbox::geometry::null_value_t;
11 using identifier = mapbox::geometry::identifier;
12 using point = mapbox::geometry::point<double>;
13 using multi_point = mapbox::geometry::multi_point<double>;
14 using line_string = mapbox::geometry::line_string<double>;
15 using linear_ring = mapbox::geometry::linear_ring<double>;
16 using multi_line_string = mapbox::geometry::multi_line_string<double>;
17 using polygon = mapbox::geometry::polygon<double>;
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/mbgl/storage/
H A Doffline_database.cpp27 } catch (mapbox::sqlite::Exception& ex) { in ~OfflineDatabase()
33 auto result = mapbox::sqlite::Database::tryOpen(path, mapbox::sqlite::ReadWriteCreate); in ensureSchema()
34 if (result.is<mapbox::sqlite::Exception>()) { in ensureSchema()
35 const auto& ex = result.get<mapbox::sqlite::Exception>(); in ensureSchema()
36 if (ex.code == mapbox::sqlite::ResultCode::NotADB) { in ensureSchema()
39 result = mapbox::sqlite::Database::open(path, mapbox::sqlite::ReadWriteCreate); in ensureSchema()
47 assert(result.is<mapbox::sqlite::Database>()); in ensureSchema()
48 …db = std::make_unique<mapbox::sqlite::Database>(std::move(result.get<mapbox::sqlite::Database>())); in ensureSchema()
76 } catch (const mapbox::sqlite::Exception& ex) { in ensureSchema()
79 if (ex.code == mapbox::sqlite::ResultCode::NotADB) { in ensureSchema()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/sources/
H A Dgeojson_source_impl.cpp17 const mapbox::geojsonvt::Options& options) in GeoJSONVTData()
20 mapbox::geometry::feature_collection<int16_t> getTile(const CanonicalTileID& tileID) final { in getTile()
25 mapbox::geojsonvt::GeoJSONVT impl;
30 SuperclusterData(const mapbox::geometry::feature_collection<double>& features, in SuperclusterData()
31 const mapbox::supercluster::Options& options) in SuperclusterData()
34 mapbox::geometry::feature_collection<int16_t> getTile(const CanonicalTileID& tileID) final { in getTile()
39 mapbox::supercluster::Supercluster impl;
53 && geoJSON.is<mapbox::geometry::feature_collection<double>>() in Impl()
54 && !geoJSON.get<mapbox::geometry::feature_collection<double>>().empty()) { in Impl()
55 mapbox::supercluster::Options clusterOptions; in Impl()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/src/plugins/
H A Dmapbox.qdoc29 \page location-plugin-mapbox.html
38 \l {http://mapbox.com}{Mapbox} location based services using the Qt Location API.
39 The use of these services is governed by the \l {https://www.mapbox.com/tos}{Mapbox terms of servic…
41 Data is provided by \l {https://www.mapbox.com/about/maps}{OpenStreetMap and others}.
43 The Mapbox geo services plugin can be loaded by using the plugin key "mapbox".
54 \li mapbox.access_token
55 \li \l{https://www.mapbox.com/help/define-access-token/}{Access token} provided by Mapbox.
60 \l{https://www.mapbox.com/#signup}.
69 \li mapbox.enterprise
71 \l{https://www.mapbox.com/enterprise}{Mapbox Enterprise} account.
[all …]
H A Dmapboxgl.qdoc40 \l {http://mapbox.com}{Mapbox} mapping services using the Qt Location API.
41 The use of these services is governed by the \l {https://www.mapbox.com/tos}{Mapbox terms of servic…
43 This plugin differs from the \l {http://doc.qt.io/qt-5/location-plugin-mapbox.html}{Mapbox} plugin …
44 the \l {https://github.com/mapbox/mapbox-gl-native/} {Mapbox GL map engine} for rendering both rast…
45 {https://www.mapbox.com/vector-tiles} {vector tiles} in real-time. The benefits are: text staying u…
49 done with tools like \l {https://www.mapbox.com/studio} {Mapbox Studio}.
54 and tiles hosted by Mapbox. To create a Mapbox account visit \l{https://www.mapbox.com/pricing}.
84 \li \l{https://www.mapbox.com/help/define-access-token}{Access token} provided by Mapbox.
88 …\l{https://www.mapbox.com/tos}{Terms of Services} and must not be used in production. This propert…
92 \li Set a custom API base URL. When not set, the URL defaults to \l{https://api.mapbox.com}.
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include/mapbox/geojsonvt/
H A Dtile.hpp7 namespace mapbox { namespace
11 mapbox::geometry::feature_collection<int16_t> features;
30 mapbox::geometry::box<double> bbox = { { 2, 1 }, { -1, 0 } };
116 mapbox::geometry::point<int16_t> transform(const vt_point& p) { in transform()
122 mapbox::geometry::multi_point<int16_t> transform(const vt_multi_point& points) { in transform()
123 mapbox::geometry::multi_point<int16_t> result; in transform()
131 mapbox::geometry::line_string<int16_t> transform(const vt_line_string& line) { in transform()
132 mapbox::geometry::line_string<int16_t> result; in transform()
142 mapbox::geometry::linear_ring<int16_t> transform(const vt_linear_ring& ring) { in transform()
143 mapbox::geometry::linear_ring<int16_t> result; in transform()
[all …]
H A Dtypes.hpp11 namespace mapbox { namespace
15 struct vt_point : mapbox::geometry::point<double> {
18 vt_point(double x_, double y_, double z_) : mapbox::geometry::point<double>(x_, y_), z(z_) { in vt_point()
37 inline double get<0>(const mapbox::geometry::point<double>& p) { in get()
41 inline double get<1>(const mapbox::geometry::point<double>& p) { in get()
85 using vt_geometry = mapbox::util::variant<vt_point,
95 using property_map = mapbox::geometry::property_map;
96 using identifier = mapbox::geometry::identifier;
142 mapbox::geometry::box<double> bbox = { { 2, 1 }, { -1, 0 } };
148 mapbox::geometry::for_each_point(geom, [&](const vt_point& p) { in vt_feature()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dgeometry.hpp17 using Point = mapbox::geometry::point<T>;
20 using LineString = mapbox::geometry::line_string<T>;
23 using Polygon = mapbox::geometry::polygon<T>;
26 using MultiPoint = mapbox::geometry::multi_point<T>;
29 using MultiLineString = mapbox::geometry::multi_line_string<T>;
32 using MultiPolygon = mapbox::geometry::multi_polygon<T>;
35 using LinearRing = mapbox::geometry::linear_ring<T>;
38 using Geometry = mapbox::geometry::geometry<T>;
59 …FeatureType operator()(const mapbox::geometry::geometry_collection<T> &) const { return FeatureTyp… in operator ()()
64 mapbox::geometry::for_each_point(g, f); in forEachPoint()
H A Dfeature.hpp9 using Value = mapbox::geometry::value;
10 using NullValue = mapbox::geometry::null_value_t;
11 using PropertyMap = mapbox::geometry::property_map;
12 using FeatureIdentifier = mapbox::geometry::identifier;
13 using Feature = mapbox::geometry::feature<double>;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/tile/
H A Dgeojson_tile_data.hpp10 const mapbox::geometry::feature<int16_t>& feature;
12 GeoJSONTileFeature(const mapbox::geometry::feature<int16_t>& feature_) in GeoJSONTileFeature()
50 GeoJSONTileLayer(std::shared_ptr<const mapbox::geometry::feature_collection<int16_t>> features_) in GeoJSONTileLayer()
67 std::shared_ptr<const mapbox::geometry::feature_collection<int16_t>> features;
72 GeoJSONTileData(mapbox::geometry::feature_collection<int16_t> features_) in GeoJSONTileData()
73 : features(std::make_shared<mapbox::geometry::feature_collection<int16_t>>( in GeoJSONTileData()
77 GeoJSONTileData(std::shared_ptr<const mapbox::geometry::feature_collection<int16_t>> features_) in GeoJSONTileData()
91 std::shared_ptr<const mapbox::geometry::feature_collection<int16_t>> features;
H A Dvector_tile_data.cpp6 VectorTileFeature::VectorTileFeature(const mapbox::vector_tile::layer& layer, in VectorTileFeature()
13 case mapbox::vector_tile::GeomType::POINT: in getType()
15 case mapbox::vector_tile::GeomType::LINESTRING: in getType()
17 case mapbox::vector_tile::GeomType::POLYGON: in getType()
39 if (feature.getVersion() >= 2 || feature.getType() != mapbox::vector_tile::GeomType::POLYGON) { in getGeometries()
74 layers = mapbox::vector_tile::buffer(*data).getLayers(); in getLayer()
86 return mapbox::vector_tile::buffer(*data).layerNames(); in layerNames()
H A Dgeometry_tile_data.hpp86 GeometryCollection operator()(const mapbox::geometry::point<int16_t>& geom) const { in operator ()()
89 GeometryCollection operator()(const mapbox::geometry::multi_point<int16_t>& geom) const { in operator ()()
97 GeometryCollection operator()(const mapbox::geometry::line_string<int16_t>& geom) const { in operator ()()
105 GeometryCollection operator()(const mapbox::geometry::multi_line_string<int16_t>& geom) const { in operator ()()
118 GeometryCollection operator()(const mapbox::geometry::polygon<int16_t>& geom) const { in operator ()()
131 GeometryCollection operator()(const mapbox::geometry::multi_polygon<int16_t>& geom) const { in operator ()()
145 GeometryCollection operator()(const mapbox::geometry::geometry_collection<int16_t>&) const { in operator ()()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/
H A Dgeoservices.pro6 qtConfig(geoservices_mapbox): SUBDIRS += mapbox
12 !exists(../../3rdparty/mapbox-gl-native/mapbox-gl-native.pro) {
13 …warning("Submodule mapbox-gl-native does not exist. Run 'git submodule update --init' on qtlocatio…
15 SUBDIRS += mapboxgl ../../3rdparty/mapbox-gl-native
16 mapboxgl.depends = ../../3rdparty/mapbox-gl-native
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geometry/0.9.3/include/mapbox/geometry/
H A Dfor_each_point.hpp5 namespace mapbox { namespace
20 void for_each_point(mapbox::util::variant<Types...> const& geom, F&& f) in for_each_point()
22 mapbox::util::variant<Types...>::visit(geom, [&] (auto const& g) { in for_each_point()
28 void for_each_point(mapbox::util::variant<Types...> & geom, F&& f) in for_each_point()
30 mapbox::util::variant<Types...>::visit(geom, [&] (auto & g) { in for_each_point()
H A Dfeature.hpp13 namespace mapbox { namespace
35 using value_base = mapbox::util::variant<null_value_t, bool, uint64_t, int64_t, double, std::string,
36 mapbox::util::recursive_wrapper<std::vector<value>>,
37mapbox::util::recursive_wrapper<std::unordered_map<std::string, value>>>;
47 using identifier = mapbox::util::variant<uint64_t, int64_t, double, std::string>;
53 …using geometry_type = mapbox::geometry::geometry<T>; // Fully qualified to avoid GCC -fpermissive …
/OK3568_Linux_fs/buildroot/package/qt5/qt5location/
H A D0001-3rdparty-mapbox-gl-native-fix-musl-compile-pthread_g.patch4 Subject: [PATCH] 3rdparty: mapbox-gl-native: fix musl compile
27 src/3rdparty/mapbox-gl-native/platform/default/thread.cpp | 3 ++-
30 diff --git a/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp b/src/3rdparty/mapbox-gl-nat…
32 --- a/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp
33 +++ b/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/vector-tile/1.0.2/include/mapbox/
H A Dvector_tile.hpp19 namespace mapbox { namespace vector_tile { namespace
21 using point_type = mapbox::geometry::point<std::int16_t>;
41 using properties_type = mapbox::geometry::property_map;
47 optional<mapbox::geometry::value> getValue(std::string const&) const;
49 optional<mapbox::geometry::identifier> const& getID() const;
57 optional<mapbox::geometry::identifier> id;
96 static mapbox::geometry::value parseValue(protozero::data_view const& value_view) { in parseValue()
97 mapbox::geometry::value value; in parseValue()
142 id = optional<mapbox::geometry::identifier>{ feature_pbf.get_uint64() }; in feature()
160 inline optional<mapbox::geometry::value> feature::getValue(const std::string& key) const { in getValue()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/
H A Dimage_atlas.cpp9 ImagePosition::ImagePosition(const mapbox::Bin& bin, const style::Image::Impl& image) in ImagePosition()
22 mapbox::ShelfPack::ShelfPackOptions options; in makeImageAtlas()
24 mapbox::ShelfPack pack(0, 0, options); in makeImageAtlas()
29 const mapbox::Bin& bin = *pack.packOne(-1, in makeImageAtlas()

12345