Home
last modified time | relevance | path

Searched refs:wkt2 (Results 1 – 25 of 54) sorted by relevance

123

/third_party/boost/libs/geometry/test/algorithms/touches/
Dtest_touches.hpp36 std::string const& wkt2, in check_touches() argument
44 << " with " << wkt2 in check_touches()
51 "touches: " << wkt2 in check_touches()
61 std::string const& wkt2, in check_touches() argument
69 << " with " << wkt2 in check_touches()
76 "touches: " << wkt2 in check_touches()
84 std::string const& wkt2, bool expected) in test_touches() argument
90 bg::read_wkt(wkt2, geometry2); 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.hpp55 std::string const& wkt2, in check_geometry() argument
63 << " in " << wkt2 in check_geometry()
70 std::string const& wkt2, bool expected) in test_geometry() argument
75 bg::read_wkt(wkt2, geometry2); 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()
93 std::string const& wkt2, in test_geometry() argument
[all …]
/third_party/boost/libs/geometry/test/algorithms/disjoint/
Dtest_disjoint.hpp53 std::string const& wkt2, in check_disjoint() argument
63 "disjoint: " << wkt1 << " and " << wkt2 in check_disjoint()
79 std::string const& wkt2, in test_disjoint() argument
86 bg::read_wkt(wkt2, g2); 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.hpp29 std::string const& wkt2, in test_disjoint() argument
36 bg::read_wkt(wkt2, geometry2); in test_disjoint()
47 std::string const& wkt2, in test_disjoint_strategy() argument
55 bg::read_wkt(wkt2, geometry2); in test_disjoint_strategy()
/third_party/boost/libs/geometry/test/algorithms/equals/
Dtest_equals.hpp52 std::string const& wkt2, in check_geometry() argument
61 << " to " << wkt2 in check_geometry()
69 << " equals: " << wkt2 in check_geometry()
79 std::string const& wkt2, in test_geometry() argument
87 bg::read_wkt(wkt2, geometry2); 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 …eometry1>(geometry1), boost::variant<Geometry2>(geometry2), caseid, wkt1, wkt2, expected, no_strat… in test_geometry()
[all …]
Dequals.cpp143 std::string wkt2 = "POLYGON((-23 1, -23 -3, -18 -3, -18 1))"; 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.hpp167 std::string const& wkt2, 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()
259 std::string const& wkt2, 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
277 bg::read_wkt(wkt2, geometry2); 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
288 bg::read_wkt(wkt2, geometry2); in test_geometry_range()
[all …]
Dtraverse_ccw.cpp200 …pe<Geometry1>::type intersect(std::string const& wkt1, std::string const& wkt2, std::string const&… in intersect() argument
206 bg::read_wkt(wkt2, geometry2); 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.hpp56 std::string const& wkt2, in check_intersects() argument
66 << " with " << wkt2 in check_intersects()
73 std::string const& wkt2, bool expected) in test_geometry() argument
79 bg::read_wkt(wkt2, geometry2); 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.cpp40 std::string const& wkt2, in check() argument
54 wkt1 << " + " << wkt2 << " -> " << bg::wkt(g) in check()
61 std::string const& wkt2, 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()
73 std::string const& wkt2, 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()
86 std::string const& wkt2, in check() argument
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/sym_difference/
Dsym_difference_tupled.cpp40 std::string const& wkt2, in check() argument
54 wkt1 << " ^ " << wkt2 << " -> " << bg::wkt(g) in check()
61 std::string const& wkt2, 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()
73 std::string const& wkt2, 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()
86 std::string const& wkt2, in check() argument
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/intersection/
Dintersection_tupled.cpp40 std::string const& wkt2, in check() argument
54 wkt1 << " x " << wkt2 << " -> " << bg::wkt(g) in check()
61 std::string const& wkt2, 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()
73 std::string const& wkt2, 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()
86 std::string const& wkt2, in check() argument
[all …]
/third_party/boost/libs/geometry/test/algorithms/overlaps/
Dtest_overlaps.hpp51 std::string const& wkt2, in test_geometry() argument
59 << " with " << wkt2 in test_geometry()
66 "overlaps: " << wkt2 in test_geometry()
74 std::string const& wkt2, in test_geometry() argument
81 bg::read_wkt(wkt2, geometry2); 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.hpp50 std::string const& wkt2, bool expected) in test_geometry() argument
56 bg::read_wkt(wkt2, geometry2); in test_geometry()
62 << " with " << wkt2 in test_geometry()
75 << " with " << wkt2 in test_geometry()
85 << " with " << wkt2 in test_geometry()
94 << " with " << wkt2 in test_geometry()
103 << " with " << wkt2 in test_geometry()
/third_party/boost/libs/geometry/test/algorithms/within/
Dtest_within.hpp55 std::string const& wkt2, in check_geometry() argument
63 << " in " << wkt2 in check_geometry()
70 std::string const& wkt2, bool expected) in test_geometry() argument
75 bg::read_wkt(wkt2, geometry2); 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/strategies/
Dsegment_intersection_geo.hpp102 : m(m_), expected_count(1), wkt1(wkt1_), wkt2(wkt2_), opposite(opposite_ ? 1 : 0) in strategy_base()
107 std::string wkt1, wkt2; member
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()
130 geodesic_vincenty(char m, std::string const& wkt1, std::string const& wkt2, bool opposite) in geodesic_vincenty()
131 : strategy_base(m, wkt1, wkt2, opposite) in geodesic_vincenty()
142 geodesic_thomas(char m, std::string const& wkt1, std::string const& wkt2, bool opposite) in geodesic_thomas()
143 : strategy_base(m, wkt1, wkt2, opposite) in geodesic_thomas()
154 geodesic_andoyer(char m, std::string const& wkt1, std::string const& wkt2, bool opposite) in geodesic_andoyer()
155 : strategy_base(m, wkt1, wkt2, opposite) in geodesic_andoyer()
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/difference/
Ddifference_tupled.cpp40 std::string const& wkt2, in check() argument
54 wkt1 << " \\ " << wkt2 << " -> " << bg::wkt(g) in check()
62 std::string const& wkt2, in check() argument
66 check(wkt1, wkt2, boost::get<I>(tup), out_str); in check()
71 std::string const& wkt2, in check() argument
76 check(wkt1, wkt2, pair.first, out_str); in check()
78 check(wkt1, wkt2, pair.second, out_str); in check()
85 std::string const& wkt2, 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
320 bg::read_wkt(wkt2, g2); 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
428 bg::read_wkt(wkt2, g2); in test_one_lp()
/third_party/boost/libs/geometry/test/algorithms/relate/
Dtest_relate.hpp114 std::string const& wkt2, in check_geometry() argument
126 << " and " << wkt2 in check_geometry()
155 "relate: " << wkt2 in check_geometry()
168 << " and " << wkt2 in check_geometry()
212 << " and " << wkt2 in check_geometry()
221 std::string const& wkt2, in test_geometry() argument
228 bg::read_wkt(wkt2, geometry2); 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.cpp44 std::string const& wkt2, in pp_distance() argument
49 bg::read_wkt(wkt2, p2); in pp_distance()
56 std::string const& wkt2, in pp_comparable_distance() argument
61 bg::read_wkt(wkt2, p2); in pp_comparable_distance()
68 std::string const& wkt2, in ps_distance() argument
74 bg::read_wkt(wkt2, s); in ps_distance()
81 std::string const& wkt2, in ps_comparable_distance() argument
87 bg::read_wkt(wkt2, s); in ps_comparable_distance()
Dtest_distance_geo_common.hpp149 std::string const& wkt2, in pp_distance() argument
154 bg::read_wkt(wkt2, p2); in pp_distance()
163 std::string const& wkt2, in ps_distance() argument
170 bg::read_wkt(wkt2, s); in ps_distance()
179 std::string const& wkt2, in sb_distance() argument
187 bg::read_wkt(wkt2, b); in sb_distance()
341 std::string const& wkt2, in apply()
349 Geometry2 geometry2 = from_wkt<Geometry2>(wkt2); 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
61 bg::read_wkt(wkt2, geometry2); in test_geometry()
104 void test_geometry(std::string const& wkt1, std::string const& wkt2, in test_geometry() argument
110 bg::read_wkt(wkt2, geometry2); in test_geometry()
Dtest_frechet_distance.hpp55 void test_geometry(std::string const& wkt1,std::string const& wkt2, in test_geometry() argument
65 bg::read_wkt(wkt2, geometry2); in test_geometry()
109 void test_geometry(std::string const& wkt1,std::string const& wkt2,Strategy strategy, in test_geometry() argument
120 bg::read_wkt(wkt2, geometry2); 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.cpp76 std::string const& wkt2, in test() argument
83 bg::read_wkt(wkt2, o); in test()
94 std::string const& wkt2) in test() argument
100 bg::read_wkt(wkt2, o); in test()
110 std::string const& wkt2) in test_distance() argument
116 bg::read_wkt(wkt2, o); in test_distance()
126 std::string const& wkt2, in test_distance() argument
133 bg::read_wkt(wkt2, o); in test_distance()

123