Home
last modified time | relevance | path

Searched refs:geometry2 (Results 1 – 25 of 115) sorted by relevance

12345

/third_party/boost/boost/geometry/algorithms/detail/disjoint/
Dinterface.hpp48 Geometry2 const& geometry2, in apply()
54 >::apply(geometry1, geometry2, strategy); in apply()
59 Geometry2 const& geometry2, in apply()
70 >::apply(geometry1, geometry2, strategy_type()); in apply()
83 …static inline bool apply(Geometry1 const& geometry1, Geometry2 const& geometry2, Strategy const& s… in apply()
91 return resolve_strategy::disjoint::apply(geometry1, geometry2, strategy); in apply()
104 visitor(Geometry2 const& geometry2, Strategy const& strategy) in visitor()
105 : m_geometry2(geometry2) in visitor()
118 Geometry2 const& geometry2, in apply()
121 return boost::apply_visitor(visitor<Strategy>(geometry2, strategy), geometry1); in apply()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/within/
Dinterface.hpp70 Geometry2 const& geometry2, in apply()
75 return dispatch::within<Geometry1, Geometry2>::apply(geometry1, geometry2, strategy); in apply()
80 Geometry2 const& geometry2, in apply()
89 return apply(geometry1, geometry2, strategy_type()); in apply()
104 Geometry2 const& geometry2, in apply()
112 geometry2, in apply()
126 visitor(Geometry2 const& geometry2, Strategy const& strategy) in visitor()
127 : m_geometry2(geometry2) in visitor()
143 Geometry2 const& geometry2, in apply()
146 return boost::apply_visitor(visitor<Strategy>(geometry2, strategy), in apply()
[all …]
Dwithin_no_turns.hpp40 bool apply(Geometry1 const& geometry1, Geometry2 const& geometry2, Strategy const& strategy) in apply()
47 return detail::within::point_in_geometry(p, geometry2, strategy) >= 0; in apply()
55 bool apply(Geometry1 const& geometry1, Geometry2 const& geometry2, Strategy const& strategy) in apply()
63 if ( detail::within::point_in_geometry(p, geometry2, strategy) < 0 ) in apply()
70 for ( iterator it = boost::begin(geometry::interior_rings(geometry2)) ; in apply()
71 it != boost::end(geometry::interior_rings(geometry2)) ; in apply()
88 bool apply(Geometry1 const& geometry1, Geometry2 const& geometry2, Strategy const& strategy) in apply()
96 if ( detail::within::point_in_geometry(p, geometry2, strategy) < 0 ) in apply()
103 for ( iterator2 it = boost::begin(geometry::interior_rings(geometry2)) ; in apply()
104 it != boost::end(geometry::interior_rings(geometry2)) ; in apply()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/covered_by/
Dinterface.hpp63 Geometry2 const& geometry2, in apply()
72 geometry2, in apply()
78 Geometry2 const& geometry2, in apply()
87 return covered_by::apply(geometry1, geometry2, strategy_type()); in apply()
101 Geometry2 const& geometry2, in apply()
105 ::apply(geometry1, geometry2, strategy); in apply()
118 visitor(Geometry2 const& geometry2, Strategy const& strategy) in visitor()
119 : m_geometry2(geometry2), m_strategy(strategy) {} in visitor()
132 Geometry2 const& geometry2, in apply()
135 return boost::apply_visitor(visitor<Strategy>(geometry2, strategy), geometry1); in apply()
[all …]
/third_party/boost/boost/geometry/algorithms/
Dcrosses.hpp72 Geometry2 const& geometry2, in apply()
78 return dispatch::crosses<Geometry1, Geometry2>::apply(geometry1, geometry2, strategy); in apply()
83 Geometry2 const& geometry2, in apply()
92 return apply(geometry1, geometry2, strategy_type()); in apply()
106 Geometry2 const& geometry2, in apply()
109 return resolve_strategy::crosses::apply(geometry1, geometry2, strategy); in apply()
123 visitor(Geometry2 const& geometry2, Strategy const& strategy) in visitor()
124 : m_geometry2(geometry2) in visitor()
141 Geometry2 const& geometry2, in apply()
144 return boost::apply_visitor(visitor<Strategy>(geometry2, strategy), geometry1); in apply()
[all …]
Ddifference.hpp54 Geometry2 const& geometry2, in apply()
66 >::apply(geometry1, geometry2, robust_policy, out, strategy); in apply()
121 Geometry2 const& geometry2, in apply()
130 >::apply(geometry1, geometry2, robust_policy, in apply()
160 Geometry2 const& geometry2, in apply()
203 Geometry2 const& geometry2, in difference_insert() argument
221 geometry1, geometry2, strategy); in difference_insert()
226 >::apply(geometry1, geometry2, robust_policy, out, strategy); in difference_insert()
253 Geometry2 const& geometry2, in difference_insert() argument
262 return difference_insert<GeometryOut>(geometry1, geometry2, out, in difference_insert()
[all …]
Dsym_difference.hpp56 Geometry2 const& geometry2, in apply()
75 >::apply(geometry1, geometry2, robust_policy, out, strategy); in apply()
91 Geometry2 const& geometry2, in apply()
99 >::apply(geometry1, geometry2, robust_policy, out, strategy); in apply()
104 >::apply(geometry2, geometry1, robust_policy, out, strategy); in apply()
171 Geometry2 const& geometry2, in apply()
184 >::apply(geometry1, geometry2, robust_policy, access::get(out), strategy); in apply()
210 Geometry2 const& geometry2, in apply()
218 >::apply(geometry2, geometry1, robust_policy, out, strategy); in apply()
242 Geometry2 const& geometry2, in apply()
[all …]
/third_party/boost/libs/geometry/test/algorithms/disjoint/
Dtest_disjoint_seg_box.hpp19 Geometry1 const& geometry1, Geometry2 const& geometry2) in test_disjoint_check() argument
24 << bg::wkt(geometry1) << " and " << bg::wkt(geometry2)); in test_disjoint_check()
35 Geometry2 geometry2; in test_disjoint() local
36 bg::read_wkt(wkt2, geometry2); in test_disjoint()
38 test_disjoint_check(bg::disjoint(geometry1, geometry2), expected_result, in test_disjoint()
39 geometry1, geometry2); in test_disjoint()
41 test_disjoint_check(bg::disjoint(geometry2, geometry1), expected_result, in test_disjoint()
42 geometry2, geometry1); in test_disjoint()
54 Geometry2 geometry2; in test_disjoint_strategy() local
55 bg::read_wkt(wkt2, geometry2); in test_disjoint_strategy()
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/intersection/
Dtest_intersection_linear_linear.hpp32 Geometry2 const& geometry2, in check_result() argument
43 << " " << bg::wkt(geometry2) in check_result()
58 Geometry2 const& geometry2, in base_test() argument
77 bg::intersection(geometry1, geometry2, mls_output); in base_test()
79 check_result(geometry1, geometry2, mls_output, mls_int1, mls_int2, case_id, tolerance); in base_test()
87 bg::intersection(geometry1, geometry2, mls_output, strategy_type()); in base_test()
89 check_result(geometry1, geometry2, mls_output, mls_int1, mls_int2, case_id, tolerance); in base_test()
92 geometry1, geometry2, mls_output); in base_test()
95 std::cout << "Geometry #2: " << bg::wkt(geometry2) << std::endl; in base_test()
113 bg::intersection(geometry1, geometry2, ls_vector_output); in base_test()
[all …]
/third_party/boost/libs/geometry/test/algorithms/covered_by/
Dtest_covered_by.hpp37 Geometry2 const& geometry2, in call_covered_by() argument
40 return bg::covered_by(geometry1, geometry2, strategy); in call_covered_by()
45 Geometry2 const& geometry2, in call_covered_by() argument
48 return bg::covered_by(geometry1, geometry2); in call_covered_by()
53 Geometry2 const& geometry2, in check_geometry() argument
59 bool detected = call_covered_by(geometry1, geometry2, strategy); in check_geometry()
73 Geometry2 geometry2; in test_geometry() local
75 bg::read_wkt(wkt2, geometry2); in test_geometry()
77 boost::variant<Geometry2> v2(geometry2); in test_geometry()
84 check_geometry(geometry1, geometry2, wkt1, wkt2, expected, no_strategy()); in test_geometry()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/intersection/
Dinterface.hpp49 Geometry2 const& geometry2, in apply()
63 >::apply(geometry1, geometry2, robust_policy, in apply()
121 Geometry2 const& geometry2, in apply()
134 geometry1, geometry2, strategy); in apply()
140 >::apply(geometry1, geometry2, robust_policy, geometry_out, in apply()
151 Geometry2 const& geometry2, in apply()
169 geometry1, geometry2, strategy); in apply()
175 >::apply(geometry1, geometry2, robust_policy, geometry_out, in apply()
191 Geometry2 const& geometry2, in apply()
199 geometry2, in apply()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/equals/
Dinterface.hpp101 Geometry2 const& geometry2, in apply()
107 >::apply(geometry1, geometry2, strategy); in apply()
112 Geometry2 const& geometry2, in apply()
124 >::apply(geometry1, geometry2, strategy_type()); in apply()
138 Geometry2 const& geometry2, in apply()
148 ::apply(geometry1, geometry2, strategy); in apply()
161 visitor(Geometry2 const& geometry2, Strategy const& strategy) in visitor()
162 : m_geometry2(geometry2) in visitor()
178 Geometry2 const& geometry2, in apply()
182 return boost::apply_visitor(visitor<Strategy>(geometry2, strategy), geometry1); in apply()
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/union/
Dtest_union_linear_linear.hpp30 Geometry2 const& geometry2, in check_result() argument
39 << " " << bg::wkt(geometry2) in check_result()
53 Geometry2 const& geometry2, in base_test() argument
76 bg::union_(geometry1, geometry2, mls_output, strategy_type()); in base_test()
78 check_result(geometry1, geometry2, mls_output, mls_union1, case_id, tolerance); in base_test()
82 bg::union_(geometry1, geometry2, mls_output); in base_test()
84 check_result(geometry1, geometry2, mls_output, mls_union1, case_id, tolerance); in base_test()
87 geometry1, geometry2, mls_output); in base_test()
91 std::cout << "Geometry #2: " << bg::wkt(geometry2) << std::endl; in base_test()
109 bg::union_(geometry1, geometry2, ls_vector_output); in base_test()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/comparable_distance/
Dinterface.hpp46 Geometry2 const& geometry2, in apply()
58 geometry2, in apply()
75 Geometry2 const& geometry2, in apply()
89 >::apply(geometry1, geometry2, comparable_strategy_type()); in apply()
107 Geometry2 const& geometry2, in apply()
113 >::apply(geometry1, geometry2, strategy); in apply()
139 visitor(Geometry2 const& geometry2, in visitor()
141 : m_geometry2(geometry2), in visitor()
171 Geometry2 const& geometry2, in apply()
174 return boost::apply_visitor(visitor<Strategy>(geometry2, strategy), geometry1); in apply()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/touches/
Dinterface.hpp91 Geometry2 const& geometry2, in apply()
97 >::apply(geometry1, geometry2, strategy); in apply()
102 Geometry2 const& geometry2, in apply()
114 >::apply(geometry1, geometry2, strategy_type()); in apply()
127 …static bool apply(Geometry1 const& geometry1, Geometry2 const& geometry2, Strategy const& strategy) in apply()
132 return resolve_strategy::touches::apply(geometry1, geometry2, strategy); in apply()
145 visitor(Geometry2 const& geometry2, Strategy const& strategy) in visitor()
146 : m_geometry2(geometry2) in visitor()
159 Geometry2 const& geometry2, in apply()
162 return boost::apply_visitor(visitor<Strategy>(geometry2, strategy), geometry1); in apply()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/distance/
Dinterface.hpp104 Geometry2 const& geometry2, in apply()
110 >::apply(geometry1, geometry2, strategy); in apply()
121 Geometry2 const& geometry2, in apply()
132 >::apply(geometry1, geometry2, strategy_type()); in apply()
149 Geometry2 const& geometry2, in apply()
155 >::apply(geometry1, geometry2, strategy); in apply()
177 visitor(Geometry2 const& geometry2, in visitor()
179 : m_geometry2(geometry2), in visitor()
206 Geometry2 const& geometry2, in apply()
209 return boost::apply_visitor(visitor<Strategy>(geometry2, strategy), geometry1); in apply()
[all …]
/third_party/boost/libs/geometry/test/algorithms/distance/
Dtest_distance_se_common.hpp134 Geometry2 geometry2 = from_wkt<Geometry2>(wkt2); in apply() local
136 apply(case_id, geometry1, geometry2, in apply()
151 Geometry2 geometry2 = from_wkt<Geometry2>(wkt2); in apply() local
153 apply(case_id, geometry1, geometry2, in apply()
168 Geometry2 const& geometry2, in apply()
178 << "G2: " << bg::wkt(geometry2) in apply()
225 bg::distance(geometry1, geometry2, strategy); in apply()
230 >::apply(case_id, "a", geometry1, geometry2, in apply()
236 = distance_brute_force(geometry1, geometry2, strategy); in apply()
241 >::apply(case_id, "b", geometry1, geometry2, in apply()
[all …]
/third_party/boost/libs/geometry/test/algorithms/equals/
Dtest_equals.hpp33 Geometry2 const& geometry2, in call_equals() argument
36 return bg::equals(geometry1, geometry2, strategy); in call_equals()
41 Geometry2 const& geometry2, in call_equals() argument
44 return bg::equals(geometry1, geometry2); in call_equals()
49 Geometry2 const& geometry2, in check_geometry() argument
56 bool detected = call_equals(geometry1, geometry2, strategy); in check_geometry()
65 detected = call_equals(geometry2, geometry1, strategy); in check_geometry()
84 Geometry2 geometry2; in test_geometry() local
87 bg::read_wkt(wkt2, geometry2); in test_geometry()
92 bg::correct(geometry2); in test_geometry()
[all …]
/third_party/boost/boost/geometry/algorithms/detail/relation/
Dinterface.hpp46 Geometry2 const& geometry2, in apply()
60 resolve_strategy::relate::apply(geometry1, geometry2, handler, strategy); in apply()
75 visitor(Geometry2 const& geometry2, Strategy const& strategy) in visitor()
76 : m_geometry2(geometry2), m_strategy(strategy) {} in visitor()
89 Geometry2 const& geometry2, in apply()
92 return boost::apply_visitor(visitor<Matrix, Strategy>(geometry2, strategy), geometry1); in apply()
109 Matrix operator()(Geometry2 const& geometry2) const in operator ()()
112 ::template apply<Matrix>(m_geometry1, geometry2, m_strategy); in operator ()()
119 boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)> const& geometry2, in apply()
122 return boost::apply_visitor(visitor<Matrix, Strategy>(geometry1, strategy), geometry2); in apply()
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/difference/
Dtest_difference_linear_linear.hpp31 Geometry2 const& geometry2, in check_result() argument
40 << " " << bg::wkt(geometry2) in check_result()
55 Geometry2 const& geometry2, in base_test() argument
78 bg::difference(geometry1, geometry2, mls_output, strategy_type()); in base_test()
85 check_result(geometry1, geometry2, mls_output, mls_diff, case_id, tolerance); in base_test()
89 bg::difference(geometry1, geometry2, mls_output); in base_test()
96 check_result(geometry1, geometry2, mls_output, mls_diff, case_id, tolerance); in base_test()
99 geometry1, geometry2, mls_output); in base_test()
109 bg::difference(geometry1, geometry2, ls_vector_output); in base_test()
110 bg::difference(geometry1, geometry2, ls_deque_output); in base_test()
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/sym_difference/
Dtest_sym_difference_linear_linear.hpp30 Geometry2 const& geometry2, in check_result() argument
39 << " " << bg::wkt(geometry2) in check_result()
53 Geometry2 const& geometry2, in base_test() argument
75 bg::sym_difference(geometry1, geometry2, mls_output, strategy_type()); in base_test()
77 check_result(geometry1, geometry2, mls_output, mls_sym_diff, case_id, tolerance); in base_test()
81 bg::sym_difference(geometry1, geometry2, mls_output); in base_test()
83 check_result(geometry1, geometry2, mls_output, mls_sym_diff, case_id, tolerance); in base_test()
86 geometry1, geometry2, mls_output); in base_test()
90 std::cout << "Geometry #2: " << bg::wkt(geometry2) << std::endl; in base_test()
108 bg::sym_difference(geometry1, geometry2, ls_vector_output); in base_test()
[all …]
/third_party/boost/libs/geometry/test/algorithms/similarity/
Dtest_frechet_distance.hpp21 void test_frechet_distance(Geometry1 const& geometry1,Geometry2 const& geometry2, in test_frechet_distance() argument
34 result_type h_distance = bg::discrete_frechet_distance(geometry1,geometry2); in test_frechet_distance()
44 << "frechet_distance : " << bg::discrete_frechet_distance(geometry1,geometry2) in test_frechet_distance()
64 Geometry2 geometry2; in test_geometry() local
65 bg::read_wkt(wkt2, geometry2); in test_geometry()
66 test_frechet_distance(geometry1,geometry2,expected_frechet_distance); in test_geometry()
68 …test_frechet_distance(boost::variant<Geometry1>(geometry1),boost::variant<Geometry2>(geometry2), e… in test_geometry()
73 void test_frechet_distance(Geometry1 const& geometry1,Geometry2 const& geometry2,Strategy strategy, in test_frechet_distance() argument
88 result_type h_distance = bg::discrete_frechet_distance(geometry1,geometry2,strategy); in test_frechet_distance()
98 << "frechet_distance : " << bg::discrete_frechet_distance(geometry1,geometry2,strategy) in test_frechet_distance()
[all …]
Dtest_hausdorff_distance.hpp25 void test_hausdorff_distance(Geometry1 const& geometry1, Geometry2 const& geometry2, in test_hausdorff_distance() argument
34 result_type h_distance = bg::discrete_hausdorff_distance(geometry1, geometry2); in test_hausdorff_distance()
60 Geometry2 geometry2; in test_geometry() local
61 bg::read_wkt(wkt2, geometry2); in test_geometry()
63 test_hausdorff_distance(geometry1, geometry2, expected_hausdorff_distance); in test_geometry()
67 boost::variant<Geometry2>(geometry2), in test_geometry()
73 void test_hausdorff_distance(Geometry1 const& geometry1, Geometry2 const& geometry2, in test_hausdorff_distance() argument
83 result_type h_distance = bg::discrete_hausdorff_distance(geometry1, geometry2, strategy); in test_hausdorff_distance()
109 Geometry2 geometry2; in test_geometry() local
110 bg::read_wkt(wkt2, geometry2); in test_geometry()
[all …]
/third_party/boost/libs/geometry/test/algorithms/overlaps/
Dtest_overlaps.hpp33 Geometry2 const& geometry2, in call_overlaps() argument
36 return bg::overlaps(geometry1, geometry2, strategy); in call_overlaps()
41 Geometry2 const& geometry2, in call_overlaps() argument
44 return bg::overlaps(geometry1, geometry2); in call_overlaps()
49 Geometry2 const& geometry2, in test_geometry() argument
55 bool detected = call_overlaps(geometry1, geometry2, strategy); in test_geometry()
63 detected = call_overlaps(geometry2, geometry1, strategy); in test_geometry()
78 Geometry2 geometry2; in test_geometry() local
81 bg::read_wkt(wkt2, geometry2); in test_geometry()
83 test_geometry(geometry1, geometry2, wkt1, wkt2, expected, no_strategy()); in test_geometry()
[all …]
/third_party/boost/libs/geometry/test/algorithms/crosses/
Dtest_crosses.hpp34 Geometry2 const& geometry2, in call_crosses() argument
37 return bg::crosses(geometry1, geometry2, strategy); in call_crosses()
42 Geometry2 const& geometry2, in call_crosses() argument
45 return bg::crosses(geometry1, geometry2); in call_crosses()
53 Geometry2 geometry2; in test_geometry() local
56 bg::read_wkt(wkt2, geometry2); in test_geometry()
58 bool detected = call_crosses(geometry1, geometry2, no_strategy()); in test_geometry()
71 detected = call_crosses(geometry1, geometry2, strategy_type()); in test_geometry()
81 boost::variant<Geometry2>(geometry2)); in test_geometry()
90 geometry2); in test_geometry()
[all …]

12345