Home
last modified time | relevance | path

Searched refs:box2 (Results 1 – 21 of 21) sorted by relevance

/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 Dbox_box.hpp56 static inline bool apply(Box1 const& box1, Box2 const& box2, Strategy const&) in apply()
58 return apply(box1, box2); in apply()
61 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
63 if (get<max_corner, Dimension>(box1) < get<min_corner, Dimension>(box2)) in apply()
67 if (get<min_corner, Dimension>(box1) > get<max_corner, Dimension>(box2)) in apply()
75 >::apply(box1, box2); in apply()
94 static inline bool apply(Box1 const& box1, Box2 const& box2, Strategy const&) in apply()
96 return apply(box1, box2); in apply()
99 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
111 calc_t const b2_min = get<min_corner, 0>(box2); in apply()
[all …]
H A Dmultipoint_geometry.hpp264 box2_type box2; in apply() local
265 geometry::envelope(single_geometry, box2, strategy.get_envelope_strategy()); in apply()
266 geometry::detail::expand_by_epsilon(box2); in apply()
272 if (! detail::disjoint::disjoint_point_box(*it, box2) in apply()
/OK3568_Linux_fs/external/rknn-toolkit2/examples/functions/hybrid_quant/
H A Dssd_post_process.py51 def IntersectBBox(box1, box2): argument
52 if box1[0] > box2[2] or box1[2] < box2[0] or box1[1] > box2[3] or box1[3] < box2[1]:
56 area2 = (box2[2] - box2[0]) * (box2[3] - box2[1])
58 xx1 = max(box1[0], box2[0])
59 yy1 = max(box1[1], box2[1])
60 xx2 = min(box1[2], box2[2])
61 yy2 = min(box1[3], box2[3])
/OK3568_Linux_fs/external/rknn-toolkit2/examples/caffe/vgg-ssd/
H A Dtest.py26 def IntersectBBox(box1, box2): argument
27 if box1[0] > box2[2] or box1[2] < box2[0] or box1[1] > box2[3] or box1[3] < box2[1]:
31 area2 = (box2[2] - box2[0]) * (box2[3] - box2[1])
33 xx1 = max(box1[0], box2[0])
34 yy1 = max(box1[1], box2[1])
35 xx2 = min(box1[2], box2[2])
36 yy2 = min(box1[3], box2[3])
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/cartesian/
H A Ddistance_pythagoras_box_box.hpp47 static inline void apply(Box1 const& box1, Box2 const& box2, T& result) in apply()
55 boost::numeric_cast<T>(geometry::get<min_corner, I-1>(box2)); in apply()
57 boost::numeric_cast<T>(geometry::get<max_corner, I-1>(box2)); in apply()
70 compute_pythagoras_box_box<I-1>::apply(box1, box2, result); in apply()
115 apply(Box1 const& box1, Box2 const& box2) in apply() argument
132 >::apply(box1, box2, result); in apply()
182 apply(Box1 const& box1, Box2 const& box2) in apply() argument
195 >::apply(box1, box2) in apply()
H A Dbox_in_box.hpp218 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
224 >::apply(box1, box2); in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/overlay/
H A Dintersection_box_box.hpp40 Box2 const& box2, in apply()
48 ct min2 = get<min_corner, Dimension>(box2); in apply()
55 ct max2 = get<max_corner, Dimension>(box2); in apply()
68 ::apply(box1, box2, robust_policy, box_out, strategy); in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/quadratic/
H A Dredistribute_elements.hpp98 Box & box2, in apply()
136 detail::bounds(rtree::element_indexable(elements_copy[seed2], translator), box2); in apply()
156 content_type content2 = index::detail::content(box2); in apply()
186 box1, box2, content1, content2, translator, in apply()
215 geometry::expand(box2, indexable); in apply()
216 content2 = index::detail::content(box2); in apply()
246 Box const& box1, Box const& box2, in pick_next()
266 Box enlarged_box2(box2); in pick_next()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/detail/algorithms/
H A Dintersection_content.hpp25 …e typename default_content_result<Box>::type intersection_content(Box const& box1, Box const& box2) in intersection_content() argument
27 bool const intersects = ! geometry::detail::disjoint::box_box<Box, Box>::apply(box1, box2); in intersection_content()
35 >::apply(box1, box2, 0, box_intersection, 0); in intersection_content()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/linear/
H A Dredistribute_elements.hpp321 Box & box2, in apply()
360 detail::bounds(rtree::element_indexable(elements_copy[seed2], translator), box2); in apply()
364 content_type content2 = index::detail::content(box2); in apply()
388 geometry::expand(box2, indexable); in apply()
389 content2 = index::detail::content(box2); in apply()
396 Box enlarged_box2(box2); in apply()
418 box2 = enlarged_box2; in apply()
/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 Dbox_to_box.hpp45 apply(Box1 const& box1, Box2 const& box2, Strategy const& strategy) in apply()
48 return strategy.apply(box1, box2); in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/rstar/
H A Dredistribute_elements.hpp145 … Box box2 = rtree::elements_box<Box>(elements_copy.begin() + i, elements_copy.end(), translator); in apply() local
147 … sum_of_margins += index::detail::comparable_margin(box1) + index::detail::comparable_margin(box2); in apply()
149 content_type ovl = index::detail::intersection_content(box1, box2); in apply()
150 content_type con = index::detail::content(box1) + index::detail::content(box2); in apply()
388 Box & box2, in apply()
449 box2 = rtree::elements_box<Box>(elements2.begin(), elements2.end(), translator); in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/equals/
H A Dimplementation.hpp86 static inline bool apply(Box1 const& box1, Box2 const& box2, Strategy const& strategy) in apply()
88 … if (!geometry::math::equals(get<min_corner, Dimension>(box1), get<min_corner, Dimension>(box2)) in apply()
89 … || !geometry::math::equals(get<max_corner, Dimension>(box1), get<max_corner, Dimension>(box2))) in apply()
93 return box_box<Dimension + 1, DimensionCount>::apply(box1, box2, strategy); in apply()
/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 Dmulti_point_geometry.hpp169 box2_type box2; in apply() local
170 geometry::envelope(single_geometry, box2, strategy.get_envelope_strategy()); in apply()
171 geometry::detail::expand_by_epsilon(box2); in apply()
184 if (detail::disjoint::disjoint_point_box(*it, box2)) in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/within/
H A Dimplementation.hpp103 static inline bool apply(Box1 const& box1, Box2 const& box2, Strategy const& strategy) in apply()
107 return strategy.apply(box1, box2); in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/covered_by/
H A Dimplementation.hpp79 static inline bool apply(Box1 const& box1, Box2 const& box2, Strategy const& strategy) in apply()
83 return strategy.apply(box1, box2); in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3/include/mapbox/geometry/wagyu/
H A Dtopology_correction.hpp225 mapbox::geometry::box<T> box2({ 0, 0 }, { 0, 0 }); in correct_self_intersection() local
227 double area_2 = area_from_point(pt2, size_2, box2); in correct_self_intersection()
233 new_ring->set_stats(area_2, size_2, box2); in correct_self_intersection()
236 ring->set_stats(area_2, size_2, box2); in correct_self_intersection()
647 mapbox::geometry::box<T> box2({ 0, 0 }, { 0, 0 }); in process_single_intersection() local
649 double area_2 = area_from_point(op_origin_2, size_2, box2); in process_single_intersection()
654 ring_new->set_stats(area_2, size_2, box2); in process_single_intersection()
657 ring_origin->set_stats(area_2, size_2, box2); in process_single_intersection()
H A Dring_util.hpp823 mapbox::geometry::box<T> const& box2) { in box2_contains_box1() argument
824 return (box2.max.x >= box1.max.x && box2.max.y >= box1.max.y && box2.min.x <= box1.min.x && in box2_contains_box1()
825 box2.min.y <= box1.min.y); in box2_contains_box1()
/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 Drange_of_boxes.hpp224 inline bool operator()(Box const& box1, Box const& box2) const in operator ()()
227 geometry::get<Index, 1>(box2)); in operator ()()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/visitors/
H A Dinsert.hpp156 Box box2; in apply() local
164 …>::apply(n, n2, n_box, box2, parameters, translator, allocators); … in apply()
175 …additional_nodes.push_back(rtree::make_ptr_pair(box2, second_node.get())); … in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeorectangle/
H A Dtst_qgeorectangle.cpp210 QFETCH(QGeoRectangle, box2); in equality()
216 QCOMPARE((box1 == box2), equal); in equality()
217 QCOMPARE((box1 != box2), !equal); in equality()
224 QCOMPARE((area1 == box2), equal); in equality()
225 QCOMPARE((area1 != box2), !equal); in equality()
1246 QFETCH(QGeoRectangle, box2); in containsBoxAndIntersects()
1250 QCOMPARE(box1.contains(box2), contains); in containsBoxAndIntersects()
1251 QCOMPARE(box1.intersects(box2), intersects); in containsBoxAndIntersects()