Home
last modified time | relevance | path

Searched refs:wkt1 (Results 1 – 25 of 53) sorted by relevance

123

/third_party/boost/libs/geometry/test/algorithms/touches/
Dtest_touches.hpp35 std::string const& wkt1, in check_touches() argument
43 "touches: " << wkt1 in check_touches()
52 << " with " << wkt1 in check_touches()
60 std::string const& wkt1, in check_touches() argument
68 "touches: " << wkt1 in check_touches()
77 << " with " << wkt1 in check_touches()
83 void test_touches(std::string const& wkt1, in test_touches() argument
89 bg::read_wkt(wkt1, geometry1); in test_touches()
100 check_touches(geometry1, geometry2, wkt1, wkt2, expected, no_strategy()); in test_touches()
101 check_touches(geometry1, geometry2, wkt1, wkt2, expected, strategy_type()); in test_touches()
[all …]
/third_party/boost/libs/geometry/test/algorithms/covered_by/
Dtest_covered_by.hpp54 std::string const& wkt1, in check_geometry() argument
62 "covered_by: " << wkt1 in check_geometry()
69 void test_geometry(std::string const& wkt1, in test_geometry() argument
74 bg::read_wkt(wkt1, geometry1); in test_geometry()
84 check_geometry(geometry1, geometry2, wkt1, wkt2, expected, no_strategy()); in test_geometry()
85 check_geometry(geometry1, geometry2, wkt1, wkt2, expected, strategy_type()); in test_geometry()
86 check_geometry(v1, geometry2, wkt1, wkt2, expected, no_strategy()); in test_geometry()
87 check_geometry(geometry1, v2, wkt1, wkt2, expected, no_strategy()); in test_geometry()
88 check_geometry(v1, v2, wkt1, wkt2, expected, no_strategy()); in test_geometry()
92 void test_geometry(std::string const& wkt1, in test_geometry() argument
[all …]
/third_party/boost/libs/geometry/test/algorithms/disjoint/
Dtest_disjoint.hpp52 std::string const& wkt1, in check_disjoint() argument
63 "disjoint: " << wkt1 << " and " << wkt2 in check_disjoint()
78 std::string const& wkt1, in test_disjoint() argument
83 bg::read_wkt(wkt1, g1); in test_disjoint()
96 check_disjoint(id, wkt1, wkt2, g1, g2, expected, no_strategy()); in test_disjoint()
97 check_disjoint(id, wkt1, wkt2, g1, g2, expected, strategy_type()); in test_disjoint()
98 check_disjoint(id, wkt1, wkt2, g1, g2, expected, no_strategy()); in test_disjoint()
99 check_disjoint(id, wkt1, wkt2, v1, g2, expected, no_strategy()); in test_disjoint()
100 check_disjoint(id, wkt1, wkt2, g1, v2, expected, no_strategy()); in test_disjoint()
101 check_disjoint(id, wkt1, wkt2, v1, v2, expected, no_strategy()); in test_disjoint()
[all …]
Dtest_disjoint_seg_box.hpp28 inline void test_disjoint(std::string const& wkt1, in test_disjoint() argument
33 bg::read_wkt(wkt1, geometry1); in test_disjoint()
46 inline void test_disjoint_strategy(std::string const& wkt1, in test_disjoint_strategy() argument
52 bg::read_wkt(wkt1, geometry1); in test_disjoint_strategy()
/third_party/boost/libs/geometry/test/strategies/
Dsegment_intersection_geo.hpp99 : m(m_), expected_count(1), wkt1(wkt1_), opposite(-1) in strategy_base()
102 : m(m_), expected_count(1), wkt1(wkt1_), wkt2(wkt2_), opposite(opposite_ ? 1 : 0) in strategy_base()
107 std::string wkt1, wkt2; member
115 strategy_default(char m, std::string const& wkt1) in strategy_default()
116 : strategy_base(m, wkt1) in strategy_default()
118 strategy_default(char m, std::string const& wkt1, std::string const& wkt2, bool opposite) in strategy_default()
119 : strategy_base(m, wkt1, wkt2, opposite) in strategy_default()
127 geodesic_vincenty(char m, std::string const& wkt1) in geodesic_vincenty()
128 : strategy_base(m, wkt1) in geodesic_vincenty()
130 geodesic_vincenty(char m, std::string const& wkt1, std::string const& wkt2, bool opposite) in geodesic_vincenty()
[all …]
/third_party/boost/libs/geometry/test/algorithms/equals/
Dtest_equals.hpp51 std::string const& wkt1, in check_geometry() argument
60 << " equals: " << wkt1 in check_geometry()
70 << " to " << wkt1 in check_geometry()
78 std::string const& wkt1, in test_geometry() argument
86 bg::read_wkt(wkt1, geometry1); in test_geometry()
100 check_geometry(geometry1, geometry2, caseid, wkt1, wkt2, expected, no_strategy()); in test_geometry()
101 check_geometry(geometry1, geometry2, caseid, wkt1, wkt2, expected, strategy_type()); in test_geometry()
102 …check_geometry(boost::variant<Geometry1>(geometry1), geometry2, caseid, wkt1, wkt2, expected, no_s… in test_geometry()
103 …check_geometry(geometry1, boost::variant<Geometry2>(geometry2), caseid, wkt1, wkt2, expected, no_s… in test_geometry()
104 …iant<Geometry1>(geometry1), boost::variant<Geometry2>(geometry2), caseid, wkt1, wkt2, expected, no… in test_geometry()
[all …]
Dequals.cpp142 std::string wkt1 = "POLYGON((-18 1, -23 1, -23 -3, -18 -3))"; in test_polygons() local
145 test_geometry<poly_cw_c, poly_cw_c>("polys_cw_c_cw_c", wkt1, wkt2, true, true); in test_polygons()
146 test_geometry<poly_cw_c, poly_cw_o>("polys_cw_c_cw_o", wkt1, wkt2, true, true); in test_polygons()
147 test_geometry<poly_cw_c, poly_ccw_c>("polys_cw_c_ccw_c", wkt1, wkt2, true, true); in test_polygons()
148 test_geometry<poly_cw_c, poly_ccw_o>("polys_cw_c_ccw_o", wkt1, wkt2, true, true); in test_polygons()
149 test_geometry<poly_cw_c, box>("polys_cw_c_box", wkt1, wkt2, true, true); in test_polygons()
151 test_geometry<poly_cw_o, poly_cw_c>("polys_cw_o_cw_c", wkt1, wkt2, true, true); in test_polygons()
152 test_geometry<poly_cw_o, poly_cw_o>("polys_cw_o_cw_o", wkt1, wkt2, true, true); in test_polygons()
153 test_geometry<poly_cw_o, poly_ccw_c>("polys_cw_o_ccw_c", wkt1, wkt2, true, true); in test_polygons()
154 test_geometry<poly_cw_o, poly_ccw_o>("polys_cw_o_ccw_o", wkt1, wkt2, true, true); in test_polygons()
[all …]
/third_party/boost/libs/geometry/test/algorithms/overlay/
Dtest_get_turns.hpp166 std::string const& wkt1, in check_geometry_range() argument
213 "get_turns: " << wkt1 << " and " << wkt2 in check_geometry_range()
241 "get_turns: " << wkt1 << " and " << wkt2 in check_geometry_range()
258 std::string const& wkt1, in check_geometry_range() argument
267 check_geometry_range(g1, g2, wkt1, wkt2, expected, strategy); in check_geometry_range()
271 void test_geometry_range(std::string const& wkt1, std::string const& wkt2, in test_geometry_range() argument
276 bg::read_wkt(wkt1, geometry1); in test_geometry_range()
278 check_geometry_range(geometry1, geometry2, wkt1, wkt2, expected, strategy); in test_geometry_range()
282 void test_geometry_range(std::string const& wkt1, std::string const& wkt2, in test_geometry_range() argument
287 bg::read_wkt(wkt1, geometry1); in test_geometry_range()
[all …]
Dtraverse_ccw.cpp200 inline typename bg::coordinate_type<Geometry1>::type intersect(std::string const& wkt1, std::string… in intersect() argument
205 bg::read_wkt(wkt1, geometry1); in intersect()
216 inline void test_polygon(std::string const& wkt1, std::string const& wkt2, std::string const& name) in test_polygon() argument
223 T area1 = intersect<clock, clock>(wkt1, wkt2, name, ov::operation_intersection); in test_polygon()
224 T area2 = intersect<counter, counter>(wkt1, wkt2, name, ov::operation_intersection); in test_polygon()
225 T area3 = intersect<clock, counter>(wkt1, wkt2, name, ov::operation_intersection); in test_polygon()
226 T area4 = intersect<counter, clock>(wkt1, wkt2, name, ov::operation_intersection); in test_polygon()
232 area1 = intersect<clock, clock>(wkt1, wkt2, name, ov::operation_union); in test_polygon()
233 area2 = intersect<counter, counter>(wkt1, wkt2, name, ov::operation_union); in test_polygon()
234 area3 = intersect<clock, counter>(wkt1, wkt2, name, ov::operation_union); in test_polygon()
[all …]
/third_party/boost/libs/geometry/test/algorithms/intersects/
Dtest_intersects.hpp55 void check_intersects(std::string const& wkt1, in check_intersects() argument
65 "intersects: " << wkt1 in check_intersects()
72 void test_geometry(std::string const& wkt1, in test_geometry() argument
78 bg::read_wkt(wkt1, geometry1); in test_geometry()
81 check_intersects(wkt1, wkt2, geometry1, geometry2, expected, no_strategy()); in test_geometry()
82 check_intersects(wkt2, wkt1, geometry2, geometry1, expected, no_strategy()); in test_geometry()
93 check_intersects(wkt1, wkt2, geometry1, geometry2, expected, strategy12_type()); in test_geometry()
94 check_intersects(wkt2, wkt1, geometry2, geometry1, expected, strategy21_type()); in test_geometry()
/third_party/boost/libs/geometry/test/algorithms/set_operations/union/
Dunion_tupled.cpp39 inline void check(std::string const& wkt1, in check() argument
54 wkt1 << " + " << wkt2 << " -> " << bg::wkt(g) in check()
60 inline void check(std::string const& wkt1, in check() argument
67 check(wkt1, wkt2, boost::get<0>(tup), out_p_str); in check()
68 check(wkt1, wkt2, boost::get<1>(tup), out_l_str); in check()
69 check(wkt1, wkt2, boost::get<2>(tup), out_a_str); in check()
72 inline void check(std::string const& wkt1, in check() argument
79 check(wkt1, wkt2, pair.first, out_p_str); in check()
80 check(wkt1, wkt2, pair.second, out_l_str); in check()
85 inline void check(std::string const& wkt1, in check() argument
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/sym_difference/
Dsym_difference_tupled.cpp39 inline void check(std::string const& wkt1, in check() argument
54 wkt1 << " ^ " << wkt2 << " -> " << bg::wkt(g) in check()
60 inline void check(std::string const& wkt1, in check() argument
67 check(wkt1, wkt2, boost::get<0>(tup), out_p_str); in check()
68 check(wkt1, wkt2, boost::get<1>(tup), out_l_str); in check()
69 check(wkt1, wkt2, boost::get<2>(tup), out_a_str); in check()
72 inline void check(std::string const& wkt1, in check() argument
79 check(wkt1, wkt2, pair.first, out_p_str); in check()
80 check(wkt1, wkt2, pair.second, out_l_str); in check()
85 inline void check(std::string const& wkt1, in check() argument
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/intersection/
Dintersection_tupled.cpp39 inline void check(std::string const& wkt1, in check() argument
54 wkt1 << " x " << wkt2 << " -> " << bg::wkt(g) in check()
60 inline void check(std::string const& wkt1, in check() argument
67 check(wkt1, wkt2, boost::get<0>(tup), out_p_str); in check()
68 check(wkt1, wkt2, boost::get<1>(tup), out_l_str); in check()
69 check(wkt1, wkt2, boost::get<2>(tup), out_a_str); in check()
72 inline void check(std::string const& wkt1, in check() argument
79 check(wkt1, wkt2, pair.first, out_p_str); in check()
80 check(wkt1, wkt2, pair.second, out_l_str); in check()
85 inline void check(std::string const& wkt1, in check() argument
[all …]
/third_party/boost/libs/geometry/test/algorithms/overlaps/
Dtest_overlaps.hpp50 std::string const& wkt1, in test_geometry() argument
58 "overlaps: " << wkt1 in test_geometry()
67 << " with " << wkt1 in test_geometry()
73 void test_geometry(std::string const& wkt1, in test_geometry() argument
80 bg::read_wkt(wkt1, geometry1); in test_geometry()
83 test_geometry(geometry1, geometry2, wkt1, wkt2, expected, no_strategy()); in test_geometry()
90 test_geometry(geometry1, geometry2, wkt1, wkt2, expected, strategy_type()); in test_geometry()
/third_party/boost/libs/geometry/test/algorithms/crosses/
Dtest_crosses.hpp49 void test_geometry(std::string const& wkt1, in test_geometry() argument
55 bg::read_wkt(wkt1, geometry1); in test_geometry()
61 "crosses: " << wkt1 in test_geometry()
74 "crosses: " << wkt1 in test_geometry()
84 "crosses: " << wkt1 in test_geometry()
93 "crosses: " << wkt1 in test_geometry()
102 "crosses: " << wkt1 in test_geometry()
/third_party/boost/libs/geometry/test/algorithms/within/
Dtest_within.hpp54 std::string const& wkt1, in check_geometry() argument
62 "within: " << wkt1 in check_geometry()
69 void test_geometry(std::string const& wkt1, in test_geometry() argument
74 bg::read_wkt(wkt1, geometry1); in test_geometry()
84 check_geometry(geometry1, geometry2, wkt1, wkt2, expected, strategy_type()); in test_geometry()
85 check_geometry(geometry1, geometry2, wkt1, wkt2, expected, no_strategy()); in test_geometry()
86 check_geometry(v1, geometry2, wkt1, wkt2, expected, no_strategy()); in test_geometry()
87 check_geometry(geometry1, v2, wkt1, wkt2, expected, no_strategy()); in test_geometry()
88 check_geometry(v1, v2, wkt1, wkt2, expected, no_strategy()); in test_geometry()
/third_party/boost/libs/geometry/test/algorithms/set_operations/difference/
Ddifference_tupled.cpp39 inline void check(std::string const& wkt1, in check() argument
54 wkt1 << " \\ " << wkt2 << " -> " << bg::wkt(g) in check()
61 inline void check(std::string const& wkt1, in check() argument
66 check(wkt1, wkt2, boost::get<I>(tup), out_str); in check()
70 inline void check(std::string const& wkt1, in check() argument
76 check(wkt1, wkt2, pair.first, out_str); in check()
78 check(wkt1, wkt2, pair.second, out_str); in check()
84 inline void check(std::string const& wkt1, in check() argument
89 check(wkt1, wkt2, std::get<I>(tup), out_str); in check()
Dtest_difference.hpp301 std::string const& wkt1, std::string const& wkt2, in test_one() argument
317 bg::read_wkt(wkt1, g1); in test_one()
353 std::string const& wkt1, std::string const& wkt2, in test_one() argument
364 return test_one<OutputType, G1, G2>(caseid, wkt1, wkt2, in test_one()
377 std::string const& wkt1, std::string const& wkt2, in test_one() argument
389 return test_one<OutputType, G1, G2>(caseid, wkt1, wkt2, in test_one()
398 std::string const& wkt1, std::string const& wkt2, in test_one() argument
407 return test_one<OutputType, G1, G2>(caseid, wkt1, wkt2, in test_one()
419 std::string const& wkt1, std::string const& wkt2, in test_one_lp() argument
425 bg::read_wkt(wkt1, g1); in test_one_lp()
/third_party/boost/libs/geometry/test/algorithms/relate/
Dtest_relate.hpp113 std::string const& wkt1, in check_geometry() argument
125 "relate: " << wkt1 in check_geometry()
156 << " and " << wkt1 in check_geometry()
167 "relate: " << wkt1 in check_geometry()
211 "relate: " << wkt1 in check_geometry()
220 void test_geometry(std::string const& wkt1, in test_geometry() argument
227 bg::read_wkt(wkt1, geometry1); in test_geometry()
229 check_geometry(geometry1, geometry2, wkt1, wkt2, expected1, expected2); in test_geometry()
/third_party/boost/libs/geometry/test/algorithms/distance/
Ddistance_se_pl_l.cpp43 pp_distance(std::string const& wkt1, in pp_distance() argument
48 bg::read_wkt(wkt1, p1); in pp_distance()
55 pp_comparable_distance(std::string const& wkt1, in pp_comparable_distance() argument
60 bg::read_wkt(wkt1, p1); in pp_comparable_distance()
67 ps_distance(std::string const& wkt1, in ps_distance() argument
73 bg::read_wkt(wkt1, p); in ps_distance()
80 ps_comparable_distance(std::string const& wkt1, in ps_comparable_distance() argument
86 bg::read_wkt(wkt1, p); in ps_comparable_distance()
Dtest_distance_geo_common.hpp148 pp_distance(std::string const& wkt1, in pp_distance() argument
153 bg::read_wkt(wkt1, p1); in pp_distance()
162 ps_distance(std::string const& wkt1, in ps_distance() argument
169 bg::read_wkt(wkt1, p); in ps_distance()
178 sb_distance(std::string const& wkt1, in sb_distance() argument
186 bg::read_wkt(wkt1, s); in sb_distance()
340 std::string const& wkt1, in apply()
348 Geometry1 geometry1 = from_wkt<Geometry1>(wkt1); in apply()
/third_party/boost/libs/geometry/test/algorithms/similarity/
Dtest_hausdorff_distance.hpp55 void test_geometry(std::string const& wkt1, std::string const& wkt2, in test_geometry() argument
59 bg::read_wkt(wkt1, geometry1); in test_geometry()
104 void test_geometry(std::string const& wkt1, std::string const& wkt2, in test_geometry() argument
108 bg::read_wkt(wkt1, geometry1); in test_geometry()
Dtest_frechet_distance.hpp55 void test_geometry(std::string const& wkt1,std::string const& wkt2, in test_geometry() argument
63 bg::read_wkt(wkt1, geometry1); in test_geometry()
109 void test_geometry(std::string const& wkt1,std::string const& wkt2,Strategy strategy, in test_geometry() argument
118 bg::read_wkt(wkt1, geometry1); in test_geometry()
/third_party/boost/libs/geometry/test/algorithms/
Dtest_convert.hpp71 void test_mixed_reversible_result(std::string const& wkt1, std::string const& wkt2) in test_mixed_reversible_result() argument
73 test_mixed<Geometry1, Geometry2>(wkt1, wkt2, -1); in test_mixed_reversible_result()
74 test_mixed<Geometry2, Geometry1>(wkt2, wkt1, -1); in test_mixed_reversible_result()
Dline_interpolate.cpp74 inline void test(std::string const& wkt1, in test() argument
80 bg::read_wkt(wkt1, g); in test()
92 inline void test(std::string const& wkt1, in test() argument
97 bg::read_wkt(wkt1, g); in test()
108 inline void test_distance(std::string const& wkt1, in test_distance() argument
113 bg::read_wkt(wkt1, g); in test_distance()
124 inline void test_distance(std::string const& wkt1, in test_distance() argument
130 bg::read_wkt(wkt1, g); in test_distance()

123