Home
last modified time | relevance | path

Searched refs:box_type (Results 1 – 25 of 59) sorted by relevance

123

/third_party/boost/libs/geometry/test/algorithms/covered_by/
Dcovered_by.cpp102 typedef bg::model::box<P> box_type; in test_all() typedef
104 test_geometry<P, box_type>("POINT(1 1)", "BOX(0 0,2 2)", true); in test_all()
105 test_geometry<P, box_type>("POINT(0 0)", "BOX(0 0,2 2)", true); in test_all()
106 test_geometry<P, box_type>("POINT(2 2)", "BOX(0 0,2 2)", true); in test_all()
107 test_geometry<P, box_type>("POINT(0 1)", "BOX(0 0,2 2)", true); in test_all()
108 test_geometry<P, box_type>("POINT(1 0)", "BOX(0 0,2 2)", true); in test_all()
109 test_geometry<P, box_type>("POINT(3 3)", "BOX(0 0,2 2)", false); in test_all()
111 test_geometry<box_type, box_type>("BOX(1 1,2 2)", "BOX(0 0,3 3)", true); in test_all()
112 test_geometry<box_type, box_type>("BOX(0 0,3 3)", "BOX(1 1,2 2)", false); in test_all()
113 test_geometry<box_type, box_type>("BOX(0 0,2 2)", "BOX(0 0,3 3)", true); in test_all()
[all …]
/third_party/boost/libs/geometry/test/algorithms/envelope_expand/
Dexpand.cpp60 typedef bg::model::box<Point> box_type; in test_box_3d() typedef
61 box_type b = bg::make_inverse<box_type>(); in test_box_3d()
63 test_expand<box_type>(b, "BOX(0 2 5,4 4 6)", "(0,2,5),(4,4,6)"); in test_box_3d()
64 test_expand<box_type>(b, "BOX(0 1 5,4 6 6)", "(0,1,5),(4,6,6)"); in test_box_3d()
65 test_expand<box_type>(b, "BOX(-1 -1 6,10 10 5)", "(-1,-1,5),(10,10,6)"); in test_box_3d()
66 test_expand<box_type>(b, "BOX(3 3 6,3 3 5)", "(-1,-1,5),(10,10,6)"); in test_box_3d()
68 test_expand<box_type>(b, "BOX(3 15 7,-1 3 4)", "(-1,-1,4),(10,15,7)"); in test_box_3d()
69 test_expand<box_type>(b, "BOX(-15 3 7,3 20 4)", "(-15,-1,4),(10,20,7)"); in test_box_3d()
70 test_expand<box_type>(b, "BOX(3 -20 8,3 20 3)", "(-15,-20,3),(10,20,8)"); in test_box_3d()
71 test_expand<box_type>(b, "BOX(-20 3 8,20 3 3)", "(-20,-20,3),(20,20,8)"); in test_box_3d()
[all …]
Dtest_envelope.hpp81 typedef bg::model::box<typename bg::point_type<Geometry>::type > box_type; in test_envelope() typedef
82 box_type b; in test_envelope()
87 check_result<box_type, bg::dimension<Geometry>::type::value> in test_envelope()
92 check_result<box_type, bg::dimension<Geometry>::type::value> in test_envelope()
/third_party/boost/boost/geometry/geometries/adapted/boost_polygon/
Dbox.hpp57 typedef boost::polygon::rectangle_data<CoordinateType> box_type; typedef
59 static inline CoordinateType get(box_type const& b) in get()
64 static inline void set(box_type& b, CoordinateType const& value) in set()
78 typedef boost::polygon::rectangle_data<CoordinateType> box_type; typedef
80 static inline CoordinateType get(box_type const& b) in get()
85 static inline void set(box_type& b, CoordinateType const& value) in set()
99 typedef boost::polygon::rectangle_data<CoordinateType> box_type; typedef
101 static inline CoordinateType get(box_type const& b) in get()
106 static inline void set(box_type& b, CoordinateType const& value) in set()
120 typedef boost::polygon::rectangle_data<CoordinateType> box_type; typedef
[all …]
/third_party/boost/libs/geometry/test/algorithms/within/
Dwithin.cpp67 typedef boost::geometry::model::box<point_type> box_type; in test_point_box_3d() typedef
68 box_type box(point_type(0, 0, 0), point_type(4, 4, 4)); in test_point_box_3d()
74 box_type box2(point_type(2, 2, 2), point_type(3, 3, 3)); in test_point_box_3d()
106 typedef bg::model::box<point_type> box_type; in test_strategy() typedef
108 box_type b(point_type(0, 0), point_type(5, 5)); in test_strategy()
109 box_type b0(point_type(0, 0), point_type(5, 0)); in test_strategy()
116 bg::strategy::within::box_in_box<box_type, box_type>()); in test_strategy()
120 bg::strategy::within::box_in_box<box_type, box_type>()); in test_strategy()
/third_party/boost/boost/geometry/index/detail/rtree/utilities/
Dare_boxes_ok.hpp29 typedef typename MembersHolder::box_type box_type; typedef in boost::geometry::index::detail::rtree::utilities::visitors::are_boxes_ok
52 box_type box_bckup = m_box; in operator ()()
71 box_type box_exp = rtree::elements_box<box_type>(elements.begin(), elements.end(), m_tr, in operator ()()
94 box_type box_exp = rtree::values_box<box_type>(elements.begin(), elements.end(), m_tr, in operator ()()
111 box_type m_box;
Dview.hpp33 typedef typename Rtree::box_type box_type; typedef in boost::geometry::index::detail::rtree::utilities::view
Dgl_draw.hpp125 typedef typename MembersHolder::box_type box_type; typedef
134 typename coordinate_type<box_type>::type z_coord_level_multiplier = 1 in gl_draw()
211 typename coordinate_type<box_type>::type z_mul;
/third_party/boost/boost/geometry/index/detail/rtree/quadratic/
Dredistribute_elements.hpp46 typedef Box box_type; in pick_seeds() typedef
47 typedef typename index::detail::default_content_result<box_type>::type content_type; in pick_seeds()
51 indexable_type, box_type, strategy_type in pick_seeds()
71 box_type enlarged_box; in pick_seeds()
98 typedef typename MembersHolder::box_type box_type; typedef
107 typedef typename index::detail::default_content_result<box_type>::type content_type;
112 box_type & box1, in apply()
113 box_type & box2, in apply()
137 quadratic::pick_seeds<box_type>(elements_copy, parameters, translator, seed1, seed2); in apply()
267 box_type const& box1, box_type const& box2, in pick_next()
[all …]
/third_party/boost/libs/geometry/test/algorithms/detail/
Dpartition.cpp442 typedef bg::model::box<point_item> box_type; in test_many_boxes() typedef
443 std::vector<box_item<box_type> > boxes; in test_many_boxes()
450 BOOST_FOREACH(box_item<box_type> const& item1, boxes) in test_many_boxes()
452 BOOST_FOREACH(box_item<box_type> const& item2, boxes) in test_many_boxes()
458 box_type b; in test_many_boxes()
481 BOOST_FOREACH(box_item<box_type> const& item, boxes) in test_many_boxes()
494 box_visitor<box_type> visitor; in test_many_boxes()
497 box_type, in test_many_boxes()
509 typedef bg::model::box<point_item> box_type; in test_two_collections() typedef
510 std::vector<box_item<box_type> > boxes1, boxes2; in test_two_collections()
[all …]
/third_party/boost/boost/geometry/index/detail/rtree/visitors/
Dchildren_box.hpp28 typedef typename MembersHolder::box_type box_type; typedef in boost::geometry::index::detail::rtree::visitors::children_box
34 inline children_box(box_type & result, in children_box()
45 m_result = rtree::elements_box<box_type>(elements.begin(), elements.end(), m_tr, in operator ()()
54 m_result = rtree::values_box<box_type>(elements.begin(), elements.end(), m_tr, in operator ()()
59 box_type & m_result;
Dinsert.hpp44 typedef typename MembersHolder::box_type box_type; typedef in boost::geometry::index::detail::rtree::choose_next_node
53 typedef typename index::detail::default_content_result<box_type>::type content_type;
79 box_type box_exp(ch_i.first); in apply()
139 typedef typename MembersHolder::box_type box_type; typedef in boost::geometry::index::detail::rtree::split
159 box_type & n_box, in apply()
183 box_type box2; in apply()
271 typedef typename MembersHolder::box_type box_type; typedef in boost::geometry::index::detail::rtree::visitors::detail::insert
400 box_type n_box; in split()
476 box_type m_element_bounds;
/third_party/boost/libs/geometry/test/algorithms/buffer/
Dbuffer.cpp43 typedef bg::model::box<P> box_type; in test_all() typedef
45 box_type b1(p1, p2); in test_all()
46 box_type b2; in test_all()
49 box_type expected(P(-2, -2), P(4, 4)); in test_all()
52 boost::variant<box_type> v(b1); in test_all()
/third_party/boost/libs/geometry/doc/src/examples/algorithms/
Dexpand.cpp23 typedef boost::geometry::model::box<point_type> box_type; in main() typedef
27box_type box = boost::geometry::make_inverse<box_type>(); /*< expand is usually preceded by a call… in main()
32 expand(box, boost::geometry::make<box_type>(3, 3, 5, 5)); in main()
/third_party/boost/boost/geometry/algorithms/detail/envelope/
Drange_of_boxes.hpp160 typedef typename boost::range_value<RangeOfBoxes>::type box_type; in apply() typedef
171 detail::indexed_point_view<box_type const, min_corner> in apply()
174 detail::indexed_point_view<box_type const, max_corner> in apply()
179 detail::indexed_point_view<box_type const, min_corner>, in apply()
187 detail::indexed_point_view<box_type const, max_corner>, in apply()
234 typedef typename boost::range_value<RangeOfBoxes>::type box_type; in apply() typedef
235 typedef typename coordinate_type<box_type>::type coordinate_type; in apply()
236 typedef typename detail::cs_angular_units<box_type>::type units_type; in apply()
244 typename cs_tag<box_type>::type, in apply()
/third_party/boost/libs/geometry/doc/src/examples/views/
Dbox_view.cpp23 > box_type; in main() typedef
26 typedef boost::geometry::box_view<box_type> box_view; in main()
28 box_type box; in main()
/third_party/boost/libs/geometry/test/strategies/
Dpythagoras_point_box.cpp287 typedef bg::model::box<point_type> box_type; in test_big_2d_with() typedef
296 pythagoras_pb_type, point_type, box_type in test_big_2d_with()
301 box_type b; in test_big_2d_with()
331 typedef bg::model::box<point_type> box_type; in test_integer() typedef
334 box_type b; in test_integer()
346 pythagoras_type, point_type, box_type in test_integer()
350 comparable_type, point_type, box_type in test_integer()
398 typedef bg::model::box<P> box_type; in time_compare_s() typedef
402 box_type b; in time_compare_s()
408 Strategy, P, box_type in time_compare_s()
/third_party/boost/boost/geometry/index/detail/rtree/rstar/
Dchoose_next_node.hpp39 typedef typename MembersHolder::box_type box_type; typedef in boost::geometry::index::detail::rtree::choose_next_node
49 typedef typename index::detail::default_content_result<box_type>::type content_type;
113 box_type box_exp(ch_i.first); in choose_by_minimum_overlap_cost()
187 box_type box_exp(ch_i.first); in choose_by_minimum_overlap_cost_first_n()
242 box_type box_exp(ch_i.first); in choose_by_minimum_content_cost()
Dredistribute_elements.hpp403 typedef typename MembersHolder::box_type box_type; typedef
412 static const size_t dimension = geometry::dimension<box_type>::value;
414 typedef typename index::detail::default_margin_result<box_type>::type margin_type;
415 typedef typename index::detail::default_content_result<box_type>::type content_type;
421 box_type & box1, in apply()
422 box_type & box2, in apply()
452 rstar::choose_split_axis_and_index<box_type, dimension> in apply()
485 box1 = rtree::elements_box<box_type>(elements1.begin(), elements1.end(), in apply()
487 box2 = rtree::elements_box<box_type>(elements2.begin(), elements2.end(), in apply()
Dinsert.hpp63 typedef typename MembersHolder::box_type box_type; typedef in boost::geometry::index::detail::rtree::visitors::rstar::remove_elements_to_reinsert
86 typedef typename geometry::point_type<box_type>::type point_type; in apply()
206 typename MembersHolder::box_type,
220 typename MembersHolder::box_type,
242 typedef typename MembersHolder::box_type box_type; typedef
314 elements_box<box_type>(rtree::elements(n).begin(), rtree::elements(n).end(), in recalculate_aabb()
322 values_box<box_type>(rtree::elements(n).begin(), rtree::elements(n).end(), in recalculate_aabb()
/third_party/boost/boost/geometry/index/detail/rtree/
Dpack_create.hpp144 typedef typename MembersHolder::box_type box_type; typedef in boost::geometry::index::detail::rtree::pack
145 typedef typename geometry::point_type<box_type>::type point_type;
147 typedef typename detail::default_content_result<box_type>::type content_type;
200 expandable_box<box_type, strategy_type> hint_box(detail::get_strategy(parameters)); in apply()
287 box_type const& hint_box, in per_level()
314 expandable_box<box_type, strategy_type> elements_box(translator(*(first->second)), in per_level()
361 expandable_box<box_type, strategy_type> elements_box(detail::get_strategy(parameters)); in per_level()
373 box_type const& hint_box, in per_level_packets()
414 box_type left, right; in per_level_packets()
/third_party/boost/boost/geometry/index/detail/
Dserialization.hpp409 typedef typename elements_type::value_type::first_type box_type; in raw_apply() typedef
410 box_type b = serialization_load<box_type>("b", ar); in raw_apply()
460 typedef typename Rtree::box_type box_type; typedef in boost::geometry::index::detail::rtree::const_private_view
485 typedef typename Rtree::box_type box_type; typedef in boost::geometry::index::detail::rtree::private_view
517 typedef typename view::box_type box_type; in save() typedef
531 …detail::rtree::visitors::save<Archive, value_type, options_type, translator_type, box_type, alloca… in save()
547 typedef typename view::box_type box_type; in load() typedef
552 …typedef detail::rtree::subtree_destroyer<value_type, options_type, translator_type, box_type, allo… in load()
566 … n = detail::rtree::load<value_type, options_type, translator_type, box_type, allocators_type> in load()
/third_party/boost/libs/geometry/test/algorithms/distance/
Ddistance_ca_ar_ar.cpp29 typedef bg::model::box<point_type> box_type; typedef
201 typedef test_distance_of_geometries<box_type, box_type> tester; in test_distance_box_box()
237 typedef test_distance_of_geometries<polygon_type, box_type> tester; in test_distance_polygon_box()
269 typedef test_distance_of_geometries<multi_polygon_type, box_type> tester; in test_distance_multipolygon_box()
296 typedef test_distance_of_geometries<ring_type, box_type> tester; in test_distance_ring_box()
/third_party/boost/libs/geometry/test/algorithms/
Dassign.cpp132 typedef bg::model::box<P> box_type; in test_assign_conversion() typedef
139 box_type b; in test_assign_conversion()
196 typedef bg::model::box<P> box_type; in test_assign_conversion_variant() typedef
203 box_type b; in test_assign_conversion_variant()
204 boost::variant<box_type&> variant_b(b); in test_assign_conversion_variant()
220 bg::assign(variant_ring, boost::variant<box_type>(b)); in test_assign_conversion_variant()
/third_party/boost/boost/geometry/index/detail/rtree/linear/
Dredistribute_elements.hpp328 typedef typename MembersHolder::box_type box_type; typedef
340 box_type & box1, in apply()
341 box_type & box2, in apply()
349 typedef typename index::detail::default_content_result<box_type>::type content_type; in apply()
420 box_type enlarged_box1(box1); in apply()
421 box_type enlarged_box2(box2); in apply()

123