/third_party/boost/libs/geometry/test/algorithms/set_operations/intersection/ |
D | test_intersection.hpp | 61 std::string const& caseid, in check_result() argument 104 ::apply(intersection_output, caseid, g1, g2, message); in check_result() 107 "intersection: " << caseid << " not valid: " << message in check_result() 117 "intersection: " << caseid in check_result() 128 "intersection: " << caseid in check_result() 139 "intersection: " << caseid in check_result() 171 typename bg::default_area_result<G1>::type test_intersection(std::string const& caseid, in test_intersection() argument 179 std::cout << std::endl << "case " << caseid << std::endl; in test_intersection() 206 check_result(intersection_output, caseid, g1, g2, expected_count, in test_intersection() 215 check_result(intersection_output, caseid, g1, g2, expected_count, in test_intersection() [all …]
|
D | intersection_multi.cpp | 31 #define TEST_INTERSECTION(caseid, clips, points, area) \ argument 33 ( #caseid, caseid[0], caseid[1], clips, points, area) 35 #define TEST_INTERSECTION_REV(caseid, clips, points, area) \ argument 37 ( #caseid "_rev", caseid[1], caseid[0], clips, points, area) 39 #define TEST_INTERSECTION_IGNORE(caseid, clips, points, area) \ argument 42 ( #caseid, caseid[0], caseid[1], clips, points, area, ignore_validity); }
|
D | intersection.cpp | 45 #define TEST_INTERSECTION(caseid, clips, points, area) \ in BOOST_GEOMETRY_REGISTER_LINESTRING_TEMPLATED() argument 47 ( #caseid, caseid[0], caseid[1], clips, points, area) in BOOST_GEOMETRY_REGISTER_LINESTRING_TEMPLATED() 49 #define TEST_INTERSECTION_REV(caseid, clips, points, area) \ in BOOST_GEOMETRY_REGISTER_LINESTRING_TEMPLATED() argument 51 ( #caseid "_rev", caseid[1], caseid[0], clips, points, area) in BOOST_GEOMETRY_REGISTER_LINESTRING_TEMPLATED() 53 #define TEST_INTERSECTION_WITH(caseid, index1, index2, \ in BOOST_GEOMETRY_REGISTER_LINESTRING_TEMPLATED() argument 56 ( #caseid "_" #index1 "_" #index2, caseid[index1], caseid[index2], \ in BOOST_GEOMETRY_REGISTER_LINESTRING_TEMPLATED()
|
/third_party/boost/libs/geometry/test/algorithms/set_operations/difference/ |
D | test_difference.hpp | 85 void difference_output(std::string const& caseid, G1 const& g1, G2 const& g2, Output const& output) in difference_output() argument 87 boost::ignore_unused(caseid, g1, g2, output); in difference_output() 103 << caseid << "_" in difference_output() 134 std::string test_difference(std::string const& caseid, G1 const& g1, G2 const& g2, in test_difference() argument 197 bool const valid = check_validity<result_type>::apply(result, caseid, g1, g2, message); in test_difference() 199 "difference: " << caseid << " not valid " << message in test_difference() 204 difference_output(caseid, g1, g2, result); in test_difference() 239 "difference: " << caseid in test_difference() 250 "difference: " << caseid in test_difference() 261 "difference: " << caseid in test_difference() [all …]
|
D | difference_multi.cpp | 27 #define TEST_DIFFERENCE(caseid, clips1, area1, clips2, area2, clips3) \ argument 29 ( #caseid, caseid[0], caseid[1], clips1, -1, area1, clips2, -1, area2, \ 32 #define TEST_DIFFERENCE_IGNORE(caseid, clips1, area1, clips2, area2, clips3) \ argument 35 ( #caseid, caseid[0], caseid[1], clips1, -1, area1, clips2, -1, area2, \ 38 #define TEST_DIFFERENCE_WITH(index1, index2, caseid, clips1, area1, \ argument 41 ( #caseid "_" #index1 "_" #index2, caseid[index1], caseid[index2], \
|
D | difference.cpp | 39 #define TEST_DIFFERENCE(caseid, clips1, area1, clips2, area2, clips3) \ argument 41 ( #caseid, caseid[0], caseid[1], clips1, -1, area1, clips2, -1, area2, \ 44 #define TEST_DIFFERENCE_WITH(caseid, clips1, area1, clips2, area2, clips3) \ argument 46 ( #caseid, caseid[0], caseid[1], clips1, -1, area1, clips2, -1, area2, \
|
/third_party/boost/libs/geometry/test/algorithms/overlay/ |
D | overlay.cpp | 350 void test_overlay(std::string const& caseid, in test_overlay() argument 372 << "_" << caseid in test_overlay() 437 bool const valid = check_validity<Geometry>::apply(result, caseid, g1, g2, message); in test_overlay() 439 "overlay: " << caseid << " not valid: " << message in test_overlay() 444 caseid in test_overlay() 448 caseid in test_overlay() 459 #define TEST_INTERSECTION(caseid, area, clips, holes) (test_overlay<multi_polygon, bg::overlay_inte… argument 460 ( #caseid "_int", caseid[0], caseid[1], area, clips, holes) 461 #define TEST_UNION(caseid, area, clips, holes) (test_overlay<multi_polygon, bg::overlay_union>) \ argument 462 ( #caseid "_union", caseid[0], caseid[1], area, clips, holes) [all …]
|
D | dissolver.cpp | 34 void test_dissolve_plusmin(std::string const& caseid, Collection const& input, in test_dissolve_plusmin() argument 70 << caseid << ".svg"; in test_dissolve_plusmin() 101 void test_geometry(std::string const& caseid, std::string const& wkt, in test_geometry() argument 110 test_dissolve_plusmin<MultiPolygon>(caseid, multi_polygon, in test_geometry() 124 test_dissolve_plusmin<MultiPolygon>(caseid + "_rings", rings, in test_geometry() 145 out << caseid; in test_geometry()
|
D | sort_by_side.cpp | 220 #define TEST_INT(caseid, exp) { (test_sort_by_side<multi_polygon, bg::overlay_intersection>) \ argument 221 ( #caseid "_int", caseid[0], caseid[1], exp); } 223 #define TEST_UNION(caseid, exp) { (test_sort_by_side<multi_polygon, bg::overlay_union>) \ argument 224 ( #caseid "_union", caseid[0], caseid[1], exp); }
|
D | traverse_gmp.cpp | 56 void test_traverse(std::string const& caseid, G1 const& g1, G2 const& g2) in test_traverse() argument 100 filename << "intersection_" << caseid << ".svg"; in test_traverse() 144 void test_one(std::string const& caseid, std::string const& wkt1, std::string const& wkt2) in test_one() argument 156 test_traverse<OutputType>(caseid, g1, g2); in test_one() 163 void test_traverse_gmp(std::string const& caseid) in test_traverse_gmp() argument 181 test_one<polygon, polygon, polygon>(caseid, brandon[0], brandon[1]); in test_traverse_gmp()
|
D | traverse.cpp | 409 std::string caseid = id; in apply() local 413 std::cout << std::endl << std::endl << "# " << caseid << std::endl; in apply() 415 detail_test_traverse::apply(caseid, expected_count, expected_area, g1, g2, precision); in apply() 423 caseid = id + "_rev"; in apply() 425 std::cout << std::endl << std::endl << "# " << caseid << std::endl; in apply() 428 detail_test_traverse::apply(caseid, expected_count, expected_area, g2, g1, precision); in apply() 956 std::string caseid = "ggl_list_20120229_volker"; in test_all() local 957 test_traverse_union::apply(caseid, in test_all() 960 test_traverse_intersection::apply(caseid, in test_all() 963 caseid = "ggl_list_20120229_volker_2"; in test_all() [all …]
|
D | overlay_common.hpp | 63 std::string caseid = id; in test_overlay() local 67 std::cout << std::endl << std::endl << "# " << caseid << std::endl; in test_overlay() 69 Functor::template apply(caseid, expected, g1, g2, precision); in test_overlay() 77 caseid = id + "_rev"; in test_overlay() 79 std::cout << std::endl << std::endl << "# " << caseid << std::endl; in test_overlay() 82 Functor::template apply(caseid, expected, g2, g1, precision); in test_overlay()
|
D | get_turn_info.cpp | 61 void test_with_point(std::string const& caseid, in test_with_point() argument 119 caseid in test_with_point() 120 << (caseid.find("_") == std::string::npos ? " " : "") in test_with_point() 130 caseid in test_with_point() 148 filename << "get_turn_info_" << caseid in test_with_point() 213 void test_both(std::string const& caseid, in test_both() argument 223 test_with_point<P, double>(caseid, in test_both() 236 test_with_point<P, double>(caseid + "_r", in test_both()
|
D | get_turns.cpp | 180 std::string caseid = id; in apply() local 184 std::cout << std::endl << std::endl << "# " << caseid << std::endl; in apply() 186 detail::test_get_turns::apply(caseid, expected_count, g1, g2, precision); in apply() 194 caseid = id + "_rev"; in apply() 196 std::cout << std::endl << std::endl << "# " << caseid << std::endl; in apply() 199 detail::test_get_turns::apply(caseid, expected_count, g2, g1, precision); in apply()
|
D | split_rings.cpp | 78 void test_geometry(std::string const& caseid, in test_geometry() argument 90 test_split_rings::apply(caseid, geometry, expected_ring_count, precision); in test_geometry()
|
/third_party/boost/libs/geometry/test/algorithms/set_operations/union/ |
D | test_union.hpp | 59 inline void check_input_validity(std::string const& caseid, int case_index, in check_input_validity() argument 65 std::cout << caseid << " Input [" in check_input_validity() 87 void test_union(std::string const& caseid, G1 const& g1, G2 const& g2, in test_union() argument 101 std::cout << "*** UNION " << caseid << std::endl; in test_union() 105 check_input_validity(caseid, 0, g1); in test_union() 106 check_input_validity(caseid, 1, g2); in test_union() 128 bool const valid = check_validity<result_type>::apply(clip, caseid, g1, g2, message); in test_union() 130 "union: " << caseid << " not valid: " << message in test_union() 174 std::cout << "*** case: " << caseid in test_union() 183 "union: " << caseid in test_union() [all …]
|
D | union_multi.cpp | 32 #define TEST_UNION(caseid, clips, holes, points, area) \ argument 34 ( #caseid, caseid[0], caseid[1], clips, holes, points, area) 36 #define TEST_UNION_IGNORE(caseid, clips, holes, points, area) \ argument 39 (#caseid, caseid[0], caseid[1], \
|
D | union.cpp | 29 #define TEST_UNION(caseid, clips, holes, points, area) \ argument 31 ( #caseid, caseid[0], caseid[1], clips, holes, points, area) 33 #define TEST_UNION_REV(caseid, clips, holes, points, area) \ argument 35 ( #caseid "_rev", caseid[1], caseid[0], clips, holes, points, area)
|
/third_party/boost/libs/geometry/test/algorithms/equals/ |
D | test_equals.hpp | 50 std::string const& caseid, in check_geometry() argument 59 "case: " << caseid in check_geometry() 68 "case: " << caseid in check_geometry() 77 void test_geometry(std::string const& caseid, in test_geometry() argument 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 …st::variant<Geometry1>(geometry1), boost::variant<Geometry2>(geometry2), caseid, wkt1, wkt2, expec… in test_geometry()
|
/third_party/boost/libs/geometry/test/algorithms/buffer/ |
D | test_buffer.hpp | 142 void test_buffer(std::string const& caseid, in test_buffer() argument 195 << caseid << "_" in test_buffer() 390 void test_buffer(std::string const& caseid, bg::model::multi_polygon<GeometryOut>& buffered, Geomet… in test_buffer() argument 404 test_buffer<GeometryOut>(caseid, buffered, geometry, in test_buffer() 421 void test_one(std::string const& caseid, std::string const& wkt, in test_one() argument 436 << ", '" << caseid << "' as caseid" in test_one() 462 (caseid, buffered, g, in test_one() 483 (caseid + "_sym", buffered, g, in test_one() 501 void test_one(std::string const& caseid, std::string const& wkt, in test_one() argument 507 test_one<Geometry, GeometryOut>(caseid, wkt, join_strategy, end_strategy, in test_one() [all …]
|
D | test_buffer_geo.hpp | 23 void test_one_geo(std::string const& caseid, in test_one_geo() argument 56 (caseid, buffer, input_geometry, in test_one_geo() 71 void test_one_geo(std::string const& caseid, std::string const& wkt, in test_one_geo() argument 77 test_one_geo<Geometry, GeometryOut>(caseid, wkt, join_strategy, end_strategy, in test_one_geo()
|
D | buffer_with_strategies.cpp | 47 void test_with_strategies(std::string const& caseid, in test_with_strategies() argument 72 "Buffer " << caseid in test_with_strategies() 83 "Buffer " << caseid in test_with_strategies()
|
/third_party/boost/libs/geometry/test/algorithms/detail/sections/ |
D | sectionalize.cpp | 72 void test_sectionalize(std::string const& caseid, G const& g, std::size_t section_count, in test_sectionalize() argument 76 boost::ignore_unused(caseid); in test_sectionalize() 149 << caseid << ".svg"; in test_sectionalize() 198 void test_sectionalize(std::string const& caseid, std::string const& wkt, in test_sectionalize() argument 209 test_sectionalize<dim2, Reverse>(caseid + "_d2", g, count2, s2, d2, max_count); in test_sectionalize() 210 test_sectionalize<dim1, Reverse>(caseid + "_d1", g, count1, s1, d1, max_count); in test_sectionalize()
|
/third_party/boost/libs/geometry/test/algorithms/ |
D | simplify_countries.cpp | 52 void test_one(std::string const& caseid, std::string const& wkt, in test_one() argument 59 boost::ignore_unused(caseid); in test_one() 92 filename << "simplify_" << caseid << "_" << distance_in_meters << ".svg"; in test_one()
|
/third_party/boost/libs/geometry/test/robustness/overlay/buffer/ |
D | recursive_polygons_buffer.cpp | 88 bool verify(std::string const& caseid, MultiPolygon const& mp, MultiPolygon const& buffer, Settings… in verify() argument 131 std::cout << "ERROR " << caseid << std::endl; in verify() 146 filename << caseid << "_" in verify() 155 filename << caseid << "_" in verify()
|