Home
last modified time | relevance | path

Searched refs:wkt (Results 1 – 25 of 196) sorted by relevance

12345678

/third_party/boost/boost/geometry/io/wkt/
Dread.hpp74 std::string const& wkt) in read_wkt_exception()
76 , wkt(wkt) in read_wkt_exception()
84 complete = message + source + " in '" + wkt.substr(0, 100) + "'"; in read_wkt_exception()
87 read_wkt_exception(std::string const& msg, std::string const& wkt) in read_wkt_exception()
89 , wkt(wkt) in read_wkt_exception()
91 complete = message + "' in (" + wkt.substr(0, 100) + ")"; in read_wkt_exception()
103 std::string wkt; member
110 namespace detail { namespace wkt namespace
123 std::string const& wkt) in apply()
144 BOOST_THROW_EXCEPTION(read_wkt_exception(blc.what(), it, end, wkt)); in apply()
[all …]
Dwrite.hpp62 namespace detail { namespace wkt namespace
342 struct wkt: not_implemented<Tag> struct
346 struct wkt<Point, point_tag> struct
347 : detail::wkt::wkt_point
350 detail::wkt::prefix_point
355 struct wkt<Linestring, linestring_tag> struct
356 : detail::wkt::wkt_range
360 detail::wkt::prefix_linestring_par,
361 detail::wkt::closing_parenthesis
371 struct wkt<Box, box_tag> struct
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/intersection/
Dtest_intersection_linear_linear.hpp42 << ", intersection L/L: " << bg::wkt(geometry1) in check_result()
43 << " " << bg::wkt(geometry2) in check_result()
44 << " -> Expected: " << bg::wkt(mls_int1) in check_result()
45 << " or: " << bg::wkt(mls_int2) in check_result()
46 << " computed: " << bg::wkt(mls_output) ); in check_result()
94 std::cout << "Geometry #1: " << bg::wkt(geometry1) << std::endl; in base_test()
95 std::cout << "Geometry #2: " << bg::wkt(geometry2) << std::endl; in base_test()
96 std::cout << "intersection : " << bg::wkt(mls_output) << std::endl; in base_test()
97 std::cout << "expected intersection : " << bg::wkt(mls_int1) in base_test()
98 << " or: " << bg::wkt(mls_int2) << std::endl; in base_test()
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/sym_difference/
Dtest_sym_difference_linear_linear.hpp38 << ", sym diff L/L: " << bg::wkt(geometry1) in check_result()
39 << " " << bg::wkt(geometry2) in check_result()
40 << " -> Expected: " << bg::wkt(mls_sym_diff) in check_result()
41 << " computed: " << bg::wkt(mls_output) ); in check_result()
89 std::cout << "Geometry #1: " << bg::wkt(geometry1) << std::endl; in base_test()
90 std::cout << "Geometry #2: " << bg::wkt(geometry2) << std::endl; in base_test()
91 std::cout << "sym_difference : " << bg::wkt(mls_output) << std::endl; in base_test()
92 std::cout << "expected sym_difference : " << bg::wkt(mls_sym_diff) in base_test()
133 << ", sym diff L/L: " << bg::wkt(geometry2) in base_test()
134 << " " << bg::wkt(geometry1) in base_test()
[all …]
/third_party/boost/libs/geometry/test/algorithms/
Dtest_reverse.hpp21 void check_geometry(Geometry& geometry, std::string const& wkt, std::string const& expected) in check_geometry() argument
26 out << bg::wkt(geometry); in check_geometry()
29 "reverse: " << wkt in check_geometry()
35 void test_geometry(std::string const& wkt, std::string const& expected) in test_geometry() argument
38 bg::read_wkt(wkt, geometry); in test_geometry()
41 check_geometry(geometry, wkt, expected); in test_geometry()
42 check_geometry(v, wkt, expected); in test_geometry()
Dtest_convert.hpp42 out << bg::wkt(geometry2); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
55 void test_mixed(std::string const& wkt, std::string const& expected, int expected_point_count) in test_mixed() argument
58 bg::read_wkt(wkt, geometry1); in test_mixed()
64 void test_mixed_identical_result(std::string const& wkt) in test_mixed_identical_result() argument
66 test_mixed<Geometry1, Geometry2>(wkt, wkt, -1); in test_mixed_identical_result()
67 test_mixed<Geometry2, Geometry1>(wkt, wkt, -1); in test_mixed_identical_result()
Dtest_for_each.hpp130 out1 << bg::wkt(geometry); in test_per_point_non_const()
135 << " got " << bg::wkt(geometry)); in test_per_point_non_const()
141 out2 << bg::wkt(geometry); in test_per_point_non_const()
146 << " got " << bg::wkt(geometry)); in test_per_point_non_const()
174 out3 << bg::wkt(geometry); in test_per_point_non_const()
179 << " got " << bg::wkt(geometry)); in test_per_point_non_const()
186 void test_per_point(std::string const& wkt in test_per_point() argument
193 bg::read_wkt(wkt, geometry); in test_per_point()
235 out << bg::wkt(geometry); in test_per_segment_non_const()
240 << " got " << bg::wkt(geometry)); in test_per_segment_non_const()
[all …]
Dnum_points_multi.cpp24 void check_geometry(Geometry const& geometry, std::string const& wkt, std::size_t expected) in check_geometry() argument
28 "num_points: " << wkt in check_geometry()
34 void test_geometry(std::string const& wkt, int expected) in test_geometry() argument
37 bg::read_wkt(wkt, geometry); in test_geometry()
38 check_geometry(geometry, wkt, expected); in test_geometry()
39 check_geometry(boost::variant<Geometry>(geometry), wkt, expected); in test_geometry()
Dtest_unique.hpp22 void test_geometry(std::string const& wkt, std::string const& expected) in test_geometry() argument
26 bg::read_wkt(wkt, geometry); in test_geometry()
30 out << bg::wkt(geometry); in test_geometry()
33 "unique: " << wkt in test_geometry()
Dtest_convex_hull.hpp45 "convex hull: " << bg::wkt(geometry) in check_convex_hull()
46 << " -> " << bg::wkt(hull) in check_convex_hull()
140 void test_geometry_order(std::string const& wkt, in test_geometry_order() argument
158 bg::read_wkt(wkt, geometry); in test_geometry_order()
166 void test_geometry(std::string const& wkt, in test_geometry() argument
170 …test_geometry_order<Geometry, true, true>(wkt, size_original, size_hull_closed, expected_area, exp… in test_geometry()
171 …test_geometry_order<Geometry, false, true>(wkt, size_original, size_hull_closed, expected_area, ex… in test_geometry()
172 …test_geometry_order<Geometry, true, false>(wkt, size_original, size_hull_closed, expected_area, ex… in test_geometry()
173 …test_geometry_order<Geometry, false, false>(wkt, size_original, size_hull_closed, expected_area, e… in test_geometry()
Dtest_simplify.hpp44 " result: " << bg::wkt(geometry) << " " << bg::area(geometry) in apply()
45 << " expected: " << bg::wkt(expected) << " " << bg::area(expected)); in apply()
60 out1 << bg::wkt(geometry); in apply()
61 out2 << bg::wkt(expected); in apply()
150 void test_geometry(std::string const& wkt, in test_geometry() argument
158 bg::read_wkt(wkt, geometry); in test_geometry()
208 void test_geometry(std::string const& wkt, in test_geometry() argument
215 bg::read_wkt(wkt, geometry); in test_geometry()
230 void test_geometry(std::string const& wkt, in test_geometry() argument
235 bg::read_wkt(wkt, geometry); in test_geometry()
/third_party/boost/libs/geometry/test/io/wkt/
Dwkt.cpp44 out << bg::wkt(geometry); in check_wkt()
50 void test_wkt(std::string const& wkt, std::string const& expected, in test_wkt() argument
55 bg::read_wkt(wkt, geometry); in test_wkt()
80 void test_wkt(std::string const& wkt, in test_wkt() argument
83 test_wkt<G>(wkt, wkt, n, len, ar, peri); in test_wkt()
87 void test_relaxed_wkt(std::string const& wkt, std::string const& expected) in test_relaxed_wkt() argument
91 bg::read_wkt(wkt, geometry); in test_relaxed_wkt()
93 out << bg::wkt(geometry); in test_relaxed_wkt()
102 void test_wrong_wkt(std::string const& wkt, std::string const& start) in test_wrong_wkt() argument
108 bg::read_wkt(wkt, geometry); in test_wrong_wkt()
[all …]
/third_party/boost/libs/geometry/test/algorithms/set_operations/union/
Dtest_union_linear_linear.hpp38 << ", union L/L: " << bg::wkt(geometry1) in check_result()
39 << " " << bg::wkt(geometry2) in check_result()
40 << " -> Expected: " << bg::wkt(mls_union) in check_result()
41 << " computed: " << bg::wkt(mls_output) ); in check_result()
90 std::cout << "Geometry #1: " << bg::wkt(geometry1) << std::endl; in base_test()
91 std::cout << "Geometry #2: " << bg::wkt(geometry2) << std::endl; in base_test()
92 std::cout << "union : " << bg::wkt(mls_output) << std::endl; in base_test()
93 std::cout << "expected union : " << bg::wkt(mls_union1) in base_test()
135 std::cout << "Geometry #1: " << bg::wkt(geometry2) << std::endl; in base_test()
136 std::cout << "Geometry #2: " << bg::wkt(geometry1) << std::endl; in base_test()
[all …]
/third_party/icu/icu4c/source/data/unit/
Dyo.txt26 dnam{"wkt"}
27 other{"{0} wkt"}
28 per{"{0}/wkt"}
64 dnam{"wkt"}
65 other{"{0} wkt"}
101 dnam{"wkt"}
102 other{"{0} wkt"}
103 per{"{0}/wkt"}
/third_party/boost/libs/geometry/doc/generated/
Dwkt.qbk23 void read_wkt(std::string const & wkt, Geometry & geometry)``
29 [[std::string const &] [] [wkt] [string containing WKT (Well-Known Text)]]
42 `#include <boost/geometry/io/wkt/read.hpp>`
49 [section:wkt wkt]
51 '''<indexterm><primary>wkt</primary></indexterm>'''
56 wkt_manipulator<Geometry> wkt(Geometry const & geometry)``
74 `#include <boost/geometry/io/wkt/write.hpp>`
76 [include reference/io/wkt.qbk]
/third_party/boost/libs/geometry/test/robustness/overlay/areal_areal/
Dticket_9081.cpp117 std::cout << "Original " << i << " " << boost::geometry::wkt(p) << std::endl; in main()
131 { std::ostringstream out; out << boost::geometry::wkt(poly_list[a]); wkt1 = out.str(); } in main()
132 { std::ostringstream out; out << boost::geometry::wkt(poly_list[b]); wkt2 = out.str(); } in main()
147 std::cout << " Intersection " << boost::geometry::wkt(mp_i) << std::endl; in main()
148 std::cout << " Difference a " << boost::geometry::wkt(mp_d) << std::endl; in main()
149 std::cout << " Difference b " << boost::geometry::wkt(mp_e) << std::endl; in main()
160 std::cout << boost::geometry::wkt(poly_list[a]) << std::endl; in main()
161 std::cout << boost::geometry::wkt(poly_list[b]) << std::endl; in main()
162 std::cout << boost::geometry::wkt(mp_i) << std::endl; in main()
180 std::cout << boost::geometry::wkt(poly_list[a]) << std::endl; in main()
[all …]
/third_party/boost/libs/geometry/test/strategies/
Dsegment_intersection_sph.hpp90 << " for " << bg::wkt(s1) << " and " << bg::wkt(s2)); in test_strategy_one()
94 << " for " << bg::wkt(s1) << " and " << bg::wkt(s2)); in test_strategy_one()
120 …"IP0: " << std::setprecision(16) << bg::wkt(res_i0) << " different than expected: " << bg::wkt(ip0) in test_strategy_one()
121 << " for " << bg::wkt(s1) << " and " << bg::wkt(s2)); in test_strategy_one()
133 …"IP1: " << std::setprecision(16) << bg::wkt(res_i1) << " different than expected: " << bg::wkt(ip1) in test_strategy_one()
134 << " for " << bg::wkt(s1) << " and " << bg::wkt(s2)); in test_strategy_one()
145 …bg::wkt(s1) << " and " << bg::wkt(s2) << (opposite_id == 0 ? " are not " : " are ") << "opposite" … in test_strategy_one()
/third_party/boost/libs/geometry/test/srs/
Dprojection_selftest.cpp46 << bg::wkt(fwd_out) << "} different than expected {" in test_projection()
47 << bg::wkt(fwd_expected[i]) << "}"); in test_projection()
59 << bg::wkt(fwd_out) << "} different than Proj4 {" in test_projection()
60 << bg::wkt(pj_xy) << "} by " << d); in test_projection()
77 << bg::wkt(inv_out) << "} different than expected {" in test_projection()
78 << bg::wkt(inv_expected[i]) << "}"); in test_projection()
90 << bg::wkt(inv_out) << "} different than Proj4 {" in test_projection()
91 << bg::wkt(pj_ll) << "} by " << d); in test_projection()
/third_party/boost/libs/geometry/test/geometries/
Dboost_range.cpp57 out << bg::wkt(ls); in test_range_adaptor()
63 out << bg::wkt(ls | boost::adaptors::reversed); in test_range_adaptor()
69 out << bg::wkt(ls | boost::adaptors::strided(2)); in test_range_adaptor()
75 out << bg::wkt(ls | boost::adaptors::sliced(1,3)); in test_range_adaptor()
85 out << bg::wkt(ls | boost::adaptors::filtered(not_two())); in test_range_adaptor()
91 out << bg::wkt(ls | boost::adaptors::adjacent_filtered(sum_not_five())); in test_range_adaptor()
/third_party/boost/boost/geometry/io/
Dio.hpp38 static inline void apply(Geometry& geometry, std::string const& wkt) in apply()
40 read_wkt<typename tag<Geometry>::type, Geometry>::apply(wkt, geometry); in apply()
48 inline void read(Geometry& geometry, std::string const& wkt) in read() argument
51 dispatch::read<Format, Geometry>::apply(geometry, wkt); in read()
/third_party/boost/libs/geometry/test/algorithms/set_operations/difference/
Dtest_difference_linear_linear.hpp39 << ", difference L/L: " << bg::wkt(geometry1) in check_result()
40 << " " << bg::wkt(geometry2) in check_result()
41 << " -> Expected: " << bg::wkt(mls_diff) in check_result()
43 << " computed: " << bg::wkt(mls_output) ); in check_result()
128 std::cout << "Geometry #1: " << bg::wkt(geometry1) << std::endl; in base_test()
129 std::cout << "Geometry #2: " << bg::wkt(geometry2) << std::endl; in base_test()
130 std::cout << "difference : " << bg::wkt(mls_output) << std::endl; in base_test()
131 std::cout << "expected difference : " << bg::wkt(mls_diff) << std::endl; in base_test()
/third_party/boost/libs/geometry/test/algorithms/disjoint/
Ddisjoint_coverage_p_p.cpp54 "case ID: " << case_id << ", G1: " << bg::wkt(geometry1) in apply()
55 << ", G2: " << bg::wkt(geometry2) << " -> Expected: " in apply()
60 "case ID: " << case_id << ", G1: " << bg::wkt(geometry2) in apply()
61 << ", G2: " << bg::wkt(geometry1) << " -> Expected: " in apply()
66 std::cout << bg::wkt(geometry1) << " - "; in apply()
67 std::cout << bg::wkt(geometry2) << std::endl; in apply()
/third_party/boost/libs/geometry/test/algorithms/touches/
Dtest_touches.hpp118 std::string const& wkt, in check_self_touches() argument
124 "touches: " << wkt in check_self_touches()
130 void test_self_touches(std::string const& wkt, bool expected) in test_self_touches() argument
133 bg::read_wkt(wkt, geometry); in test_self_touches()
136 check_self_touches(geometry, wkt, expected); in test_self_touches()
137 check_self_touches(v, wkt, expected); in test_self_touches()
/third_party/boost/libs/geometry/doc/src/examples/algorithms/
Dline_interpolate.cpp36 std::cout << "on segment : " << wkt(p) << std::endl; in main()
39 std::cout << "on linestring : " << wkt(p) << std::endl << std::endl; in main()
44 std::cout << "on segment : " << wkt(mp) << std::endl; in main()
48 std::cout << "on linestring : " << wkt(mp) << std::endl; in main()
/third_party/boost/libs/geometry/doc/index/src/examples/rtree/
Dvalue_shared_ptr.cpp60 std::cout << bg::wkt<box>(*b) << std::endl; in main()
79 std::cout << bg::wkt<box>(query_box) << std::endl; in main()
82 std::cout << bg::wkt<box>(*v) << std::endl; in main()
85 std::cout << bg::wkt<point>(point(0, 0)) << std::endl; in main()
88 std::cout << bg::wkt<box>(*v) << std::endl; in main()

12345678