Home
last modified time | relevance | path

Searched refs:geometry (Results 1 – 25 of 838) sorted by relevance

12345678910>>...34

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/
H A Dconvex_hull.hpp49 namespace boost { namespace geometry namespace
64 static inline OutputIterator apply(Geometry const& geometry, in apply()
69 strategy.apply(geometry, state); in apply()
78 static inline void apply(Geometry const& geometry, OutputGeometry& out, in apply()
83 geometry::point_order<OutputGeometry>::value, in apply()
84 geometry::closure<OutputGeometry>::value in apply()
85 >::apply(geometry, in apply()
121 = geometry::closure<OutputGeometry>::value == closed; in apply()
123 = geometry::point_order<OutputGeometry>::value == counterclockwise; in apply()
127 geometry::detail::assign_box_corners_oriented<Reverse>(box, range); in apply()
[all …]
H A Dmake.hpp21 namespace boost { namespace geometry namespace
50 Geometry geometry; in make_points() local
51 geometry::append(geometry, range); in make_points()
52 return geometry; in make_points()
83 Geometry geometry; in make() local
88 geometry::dimension<Geometry>::type::value in make()
89 >::apply(geometry, c1, c2); in make()
90 return geometry; in make()
117 Geometry geometry; in make() local
122 geometry::dimension<Geometry>::type::value in make()
[all …]
H A Dremove_spikes.hpp60 namespace boost { namespace geometry namespace
79 geometry::closure<Range>::value in apply()
105 if ( BOOST_GEOMETRY_CONDITION(geometry::closure<Range>::value == geometry::closed) ) in apply()
146 if ( BOOST_GEOMETRY_CONDITION(geometry::closure<Range>::value == geometry::closed) ) in apply()
152 geometry::clear(range); in apply()
250 static void apply(Geometry& geometry, Strategy const& strategy) in apply()
253 dispatch::remove_spikes<Geometry>::apply(geometry, strategy); in apply()
256 static void apply(Geometry& geometry, geometry::default_strategy const&) in apply()
263 apply(geometry, side_strategy()); in apply()
278 void operator()(Geometry& geometry) const in operator ()()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/core/
H A Dradian_access.hpp37 namespace boost { namespace geometry namespace
50 static inline coordinate_type get(Geometry const& geometry) in get()
55 >(geometry::get<Dimension>(geometry) in get()
59 static inline void set(Geometry& geometry, coordinate_type const& radians) in set()
61 geometry::set<Dimension>(geometry, boost::numeric_cast in set()
76 static inline coordinate_type get(Geometry const& geometry) in get()
78 return geometry::get<Dimension>(geometry); in get()
81 static inline void set(Geometry& geometry, coordinate_type const& radians) in set()
83 geometry::set<Dimension>(geometry, radians); in set()
115 static inline coordinate_type get(Geometry const& geometry) in get()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/policies/robustness/
H A Dget_rescale_policy.hpp45 namespace boost { namespace geometry namespace
67 typename geometry::coordinate_type<Point>::type in scale_box_to_integer_range()
94 static inline void init_rescale_policy(Geometry const& geometry, in init_rescale_policy() argument
99 if (geometry::is_empty(geometry)) in init_rescale_policy()
105 model::box<Point> env = geometry::return_envelope<model::box<Point> >(geometry); in init_rescale_policy()
118 bool const is_empty1 = geometry::is_empty(geometry1); in init_rescale_policy()
119 bool const is_empty2 = geometry::is_empty(geometry2); in init_rescale_policy()
128 geometry::envelope(geometry2, env); in init_rescale_policy()
132 geometry::envelope(geometry1, env); in init_rescale_policy()
140 geometry::envelope(geometry1, env); in init_rescale_policy()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/is_valid/
H A Dinterface.hpp31 namespace boost { namespace geometry namespace
40 static inline bool apply(Geometry const& geometry, in apply()
44 return dispatch::is_valid<Geometry>::apply(geometry, visitor, strategy); in apply()
48 static inline bool apply(Geometry const& geometry, in apply()
58 return dispatch::is_valid<Geometry>::apply(geometry, visitor, strategy_type()); in apply()
71 static inline bool apply(Geometry const& geometry, in apply()
77 return resolve_strategy::is_valid::apply(geometry, visitor, strategy); in apply()
93 bool operator()(Geometry const& geometry) const in operator ()()
95 return is_valid<Geometry>::apply(geometry, m_policy, m_strategy); in operator ()()
104 apply(boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)> const& geometry, in apply()
[all …]
/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.hpp9 namespace geometry { 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()
21 …mapbox::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()
27 …mapbox::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()
31 …mapbox::geometry::wagyu::wround<T>(static_cast<double>(a.x) + static_cast<double>(b.x - a.x) * sta… in intersect()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojson/0.4.2/include/mapbox/
H A Dgeojson.hpp9 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>;
18 using multi_polygon = mapbox::geometry::multi_polygon<double>;
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/
H A Ddirection_code.hpp27 namespace boost { namespace geometry namespace
41 math::equals(geometry::get<Index>(point1), geometry::get<Index>(point2)) in sign_of_difference()
45 (geometry::get<Index>(point1) > geometry::get<Index>(point2) ? 1 : -1); in sign_of_difference()
62 typedef typename geometry::select_coordinate_type in apply()
67 if ( (math::equals(geometry::get<0>(segment_b), geometry::get<0>(segment_a)) in apply()
68 && math::equals(geometry::get<1>(segment_b), geometry::get<1>(segment_a))) in apply()
69 || (math::equals(geometry::get<0>(segment_b), geometry::get<0>(p)) in apply()
70 && math::equals(geometry::get<1>(segment_b), geometry::get<1>(p))) ) in apply()
75 calc_t x1 = geometry::get<0>(segment_b) - geometry::get<0>(segment_a); in apply()
76 calc_t y1 = geometry::get<1>(segment_b) - geometry::get<1>(segment_a); in apply()
[all …]
H A Dassign_values.hpp40 namespace boost { namespace geometry namespace
54 geometry::set<Index, Dimension>(box, value); in apply()
74 geometry::assign_value(point, 0); in apply()
83 static inline void apply(BoxOrSegment& geometry) in apply()
89 geometry, boost::numeric::bounds<bound_type>::highest() in apply()
92 geometry, boost::numeric::bounds<bound_type>::lowest() in apply()
101 static inline void apply(BoxOrSegment& geometry) in apply()
106 geometry, coordinate_type() in apply()
109 geometry, coordinate_type() in apply()
129 geometry::set<0>(point, boost::numeric_cast<coordinate_type>(get<Corner1, 0>(box))); in assign_box_2d_corner()
[all …]
H A Dsub_range.hpp22 namespace boost { namespace geometry { namespace
30 typename Tag = typename geometry::tag<Geometry>::type,
41 return_type apply(Geometry & geometry, Id const&) in apply()
43 return geometry; in apply()
50 typedef typename geometry::ring_return_type<Geometry>::type return_type;
53 return_type apply(Geometry & geometry, Id const& id) in apply()
57 return geometry::exterior_ring(geometry); in apply()
63 typename geometry::interior_type<Geometry>::type in apply()
66 return range::at(geometry::interior_rings(geometry), ri); in apply()
88 return_type apply(Geometry & geometry, Id const& id) in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/disjoint/
H A Dsegment_box.hpp41 namespace boost { namespace geometry namespace
78 geometry::detail::assign_point_from_index<0>(segment, p0); in apply()
79 geometry::detail::assign_point_from_index<1>(segment, p1); in apply()
94 geometry::detail::return_normalized<segment_point_type>(p0); in apply()
96 geometry::detail::return_normalized<segment_point_type>(p1); in apply()
98 CT lon1 = geometry::get_as_radian<0>(p0_normalized); in apply()
99 CT lat1 = geometry::get_as_radian<1>(p0_normalized); in apply()
100 CT lon2 = geometry::get_as_radian<0>(p1_normalized); in apply()
101 CT lat2 = geometry::get_as_radian<1>(p1_normalized); in apply()
114 geometry::model::box<segment_point_type> box_seg; in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/views/detail/
H A Dindexed_point_view.hpp28 namespace boost { namespace geometry namespace
40 typedef typename geometry::point_type<Geometry>::type point_type;
41 typedef typename geometry::coordinate_type<Geometry>::type coordinate_type;
43 indexed_point_view(Geometry & geometry) in indexed_point_view() argument
44 : m_geometry(geometry) in indexed_point_view()
50 return geometry::get<Index, Dimension>(m_geometry); in get()
56 geometry::set<Index, Dimension>(m_geometry, value); in set()
70 struct tag< geometry::detail::indexed_point_view<Geometry, Index> >
76 struct coordinate_type< geometry::detail::indexed_point_view<Geometry, Index> >
78 typedef typename geometry::coordinate_type<Geometry>::type type;
[all …]
H A Dtwo_dimensional_view.hpp29 namespace boost { namespace geometry namespace
83 geometry::detail::two_dimensional_view
95 geometry::detail::two_dimensional_view
99 > : coordinate_system<typename geometry::point_type<Point>::type>
105 geometry::detail::two_dimensional_view
109 > : coordinate_type<typename geometry::point_type<Point>::type>
115 geometry::detail::two_dimensional_view
125 geometry::detail::two_dimensional_view
131 typedef typename geometry::point_type<Point>::type type;
138 geometry::detail::two_dimensional_view
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/distance/
H A Dsegment_to_box.hpp52 namespace boost { namespace geometry namespace
103 if (check_intersection && geometry::intersects(segment, box)) in apply()
218 if (check_intersection && geometry::intersects(segment, box)) in apply()
358 if (less_equal(geometry::get<1>(top_right), geometry::get<1>(p0))) in apply()
363 else if (less_equal(geometry::get<1>(bottom_right), in apply()
364 geometry::get<1>(p0))) in apply()
368 ReturnType diff = cast::apply(geometry::get<0>(p0)) in apply()
369 - cast::apply(geometry::get<0>(bottom_right)); in apply()
405 if (less_equal(geometry::get<0>(top_left), geometry::get<0>(p0))) in apply()
407 ReturnType diff = cast::apply(geometry::get<1>(p0)) in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/envelope/
H A Dinterface.hpp38 namespace boost { namespace geometry namespace
48 static inline void apply(Geometry const& geometry, in apply()
52 dispatch::envelope<Geometry>::apply(geometry, box, strategy); in apply()
56 static inline void apply(Geometry const& geometry, in apply()
69 dispatch::envelope<Geometry>::apply(geometry, box, strategy_type()); in apply()
82 static inline void apply(Geometry const& geometry, in apply()
89 resolve_strategy::envelope<Geometry>::apply(geometry, box, strategy); in apply()
109 void operator()(Geometry const& geometry) const in operator ()()
111 envelope<Geometry>::apply(geometry, m_box, m_strategy); in operator ()()
117 apply(boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)> const& geometry, in apply()
[all …]
/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyaffs_nandif.c40 struct ynandif_Geometry *geometry = (struct ynandif_Geometry *)(dev->driver_context); in ynandif_WriteChunkWithTagsToNAND() local
66 retval = geometry->writeChunk(dev, nand_chunk, in ynandif_WriteChunkWithTagsToNAND()
82 struct ynandif_Geometry *geometry = (struct ynandif_Geometry *)(dev->driver_context); in ynandif_ReadChunkWithTagsFromNAND() local
104 retval = geometry->readChunk(dev, nand_chunk, in ynandif_ReadChunkWithTagsFromNAND()
141 struct ynandif_Geometry *geometry = (struct ynandif_Geometry *)(dev->driver_context); in ynandif_MarkNANDBlockBad() local
143 return geometry->markBlockBad(dev, blockId); in ynandif_MarkNANDBlockBad()
148 struct ynandif_Geometry *geometry = (struct ynandif_Geometry *)(dev->driver_context); in ynandif_EraseBlockInNAND() local
150 return geometry->eraseBlock(dev, blockId); in ynandif_EraseBlockInNAND()
157 struct ynandif_Geometry *geometry = (struct ynandif_Geometry *)(dev->driver_context); in ynandif_IsBlockOk() local
159 return geometry->checkBlockOk(dev, blockId); in ynandif_IsBlockOk()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/io/svg/
H A Dwrite.hpp41 namespace boost { namespace geometry namespace
57 os << "<circle cx=\"" << geometry::get<0>(p) in apply()
58 << "\" cy=\"" << geometry::get<1>(p) in apply()
76 ct x = geometry::get<geometry::min_corner, 0>(box); in apply()
77 ct y = geometry::get<geometry::min_corner, 1>(box); in apply()
79 geometry::get<geometry::max_corner, 0>(box) - x); in apply()
81 geometry::get<geometry::max_corner, 1>(box) - y); in apply()
97 ct x1 = geometry::get<0, 0>(segment); in apply()
98 ct y1 = geometry::get<0, 1>(segment); in apply()
99 ct x2 = geometry::get<1, 0>(segment); in apply()
[all …]
H A Dsvg_mapper.hpp52 namespace boost { namespace geometry namespace
81 geometry::transform(point, ipoint, strategy); in apply()
82 stream << geometry::svg(ipoint, style, size) << std::endl; in apply()
98 geometry::assign_zero(ibox_seg); in apply()
100 geometry::transform(box_seg, ibox_seg, strategy); in apply()
102 stream << geometry::svg(ibox_seg, style, size) << std::endl; in apply()
126 geometry::transform(range, irange, strategy); in apply()
127 stream << geometry::svg(irange, style, size) << std::endl; in apply()
152 geometry::transform(polygon, ipoly, strategy); in apply()
153 stream << geometry::svg(ipoly, style, size) << std::endl; in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/buffer/
H A Dbuffer_inserter.hpp49 namespace boost { namespace geometry namespace
71 geometry::simplify(range, simplified, distance.simplify_distance()); in simplify_input()
100 geometry::simplify(range, simplified, max_distance, strategy); in simplify_input()
104 && geometry::equals(geometry::range::front(simplified), in simplify_input()
105 geometry::range::back(simplified))) in simplify_input()
137 geometry::strategy::buffer::buffer_side_selector side, in add_join()
145 geometry::assign_zero(intersection_point); in add_join()
147 geometry::strategy::buffer::join_selector join in add_join()
149 if (join == geometry::strategy::buffer::join_convex) in add_join()
162 case geometry::strategy::buffer::join_continue : in add_join()
[all …]
H A Dturn_in_piece_visitor.hpp42 namespace boost { namespace geometry namespace
55 geometry::expand(total, piece.robust_envelope); in apply()
74 return ! geometry::detail::disjoint::disjoint_box_box(box, piece.robust_envelope); in apply()
83 geometry::expand(total, turn.robust_point); in apply()
92 return ! geometry::detail::disjoint::disjoint_point_box(turn.robust_point, box); in apply()
115 typedef geometry::model::box<Point> box_type; in in_box()
117 geometry::assign_inverse(box); in in_box()
118 geometry::expand(box, previous); in in_box()
119 geometry::expand(box, current); in in_box()
121 return geometry::covered_by(point, box); in in_box()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/is_simple/
H A Dinterface.hpp26 namespace boost { namespace geometry namespace
35 static inline bool apply(Geometry const& geometry, in apply()
38 return dispatch::is_simple<Geometry>::apply(geometry, strategy); in apply()
42 static inline bool apply(Geometry const& geometry, in apply()
51 return dispatch::is_simple<Geometry>::apply(geometry, strategy_type()); in apply()
64 static inline bool apply(Geometry const& geometry, Strategy const& strategy) in apply()
68 return resolve_strategy::is_simple::apply(geometry, strategy); in apply()
85 bool operator()(Geometry const& geometry) const in operator ()()
87 return is_simple<Geometry>::apply(geometry, m_strategy); in operator ()()
93 apply(boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)> const& geometry, in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/relate/
H A Dde9im.hpp32 namespace boost { namespace geometry namespace
289 …typedef geometry::de9im::static_mask<'T', '*', 'F', '*', '*', 'F', 'F', 'F', '*'> type; // wikiped…
297 typedef geometry::de9im::static_mask<'F', 'F', '*', 'F', 'F', '*', '*', '*', '*'> type;
305 std::size_t Dim1 = geometry::topological_dimension<Geometry1>::value,
306 std::size_t Dim2 = geometry::topological_dimension<Geometry2>::value
312 geometry::de9im::static_mask<'F', 'T', '*', '*', '*', '*', '*', '*', '*'>,
313 geometry::de9im::static_mask<'F', '*', '*', 'T', '*', '*', '*', '*', '*'>,
314 geometry::de9im::static_mask<'F', '*', '*', '*', 'T', '*', '*', '*', '*'>
321 : not_implemented<typename geometry::tag<Geometry1>::type,
322 typename geometry::tag<Geometry2>::type>
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/detail/
H A Dbounded_view.hpp17 namespace boost { namespace geometry { namespace
23 typename Tag = typename geometry::tag<Geometry>::type,
24 typename BoundingTag = typename geometry::tag<BoundingGeometry>::type,
25 typename CSystem = typename geometry::coordinate_system<Geometry>::type>
41 typedef typename geometry::coordinate_type<Box>::type coordinate_type;
51 (std::min)( geometry::get<0, Dimension>(m_segment), in get_min()
52 geometry::get<1, Dimension>(m_segment) ) ); in get_min()
59 (std::max)( geometry::get<0, Dimension>(m_segment), in get_max()
60 geometry::get<1, Dimension>(m_segment) ) ); in get_max()
71 typedef typename geometry::coordinate_type<Box>::type coordinate_type;
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/
H A Dmerge_lines.cpp21 features[index].geometry[0].pop_back(); in mergeFromRight()
22 features[index].geometry[0].insert( in mergeFromRight()
23 features[index].geometry[0].end(), geom[0].begin(), geom[0].end()); in mergeFromRight()
39 geom[0].end(), features[index].geometry[0].begin(), features[index].geometry[0].end()); in mergeFromLeft()
40 features[index].geometry[0].clear(); in mergeFromLeft()
41 std::swap(features[index].geometry[0], geom[0]); in mergeFromLeft()
58 GeometryCollection& geometry = feature.geometry; in mergeLines() local
60 if (!feature.text || geometry.empty() || geometry[0].empty()) { in mergeLines()
64 const size_t leftKey = getKey(*feature.text, geometry[0].front()); in mergeLines()
65 const size_t rightKey = getKey(*feature.text, geometry[0].back()); in mergeLines()
[all …]

12345678910>>...34