/third_party/boost/libs/geometry/test/algorithms/overlay/ |
D | get_turns_linear_linear.cpp | 37 test_geometry<ls, ls>("LINESTRING(0 0,2 0)", "LINESTRING(0 0,2 0)", "tii++", "txx=="); in test_all() 38 test_geometry<ls, ls>("LINESTRING(0 0,2 0)", "LINESTRING(2 0,0 0)", "tix+=", "txi=+"); in test_all() 40 test_geometry<ls, ls>("LINESTRING(1 0,1 1)", "LINESTRING(0 0,1 0,2 0)", "tuu++"); in test_all() 41 test_geometry<ls, ls>("LINESTRING(1 0,0 0)", "LINESTRING(0 0,1 0,2 0)", "txi=+", "tiu+="); in test_all() 42 test_geometry<ls, ls>("LINESTRING(1 0,2 0)", "LINESTRING(0 0,1 0,2 0)", "tii++", "txx=="); in test_all() 43 test_geometry<ls, ls>("LINESTRING(1 1,1 0)", "LINESTRING(0 0,1 0,2 0)", "txu++"); in test_all() 44 test_geometry<ls, ls>("LINESTRING(0 0,1 0)", "LINESTRING(0 0,1 0,2 0)", "tii++", "txu=="); in test_all() 45 test_geometry<ls, ls>("LINESTRING(2 0,1 0)", "LINESTRING(0 0,1 0,2 0)", "txi=+", "tix+="); in test_all() 47 test_geometry<ls, ls>("LINESTRING(0 0,1 0,2 0)", "LINESTRING(1 0,1 1)", "tuu++"); in test_all() 48 test_geometry<ls, ls>("LINESTRING(0 0,1 0,2 0)", "LINESTRING(1 0,0 0)", "tix+=", "tui=+"); in test_all() [all …]
|
D | get_turns_linear_linear_sph.cpp | 27 test_geometry<ls, ls>("LINESTRING(0 0,2 0)", "LINESTRING(0 0,2 0)", "tii++", "txx=="); in test_all() 28 test_geometry<ls, ls>("LINESTRING(0 0,2 0)", "LINESTRING(2 0,0 0)", "tix+=", "txi=+"); in test_all() 30 test_geometry<ls, ls>("LINESTRING(1 0,1 1)", "LINESTRING(0 0,1 0,2 0)", "tuu++"); in test_all() 31 test_geometry<ls, ls>("LINESTRING(1 0,0 0)", "LINESTRING(0 0,1 0,2 0)", "txi=+", "tiu+="); in test_all() 32 test_geometry<ls, ls>("LINESTRING(1 0,2 0)", "LINESTRING(0 0,1 0,2 0)", "tii++", "txx=="); in test_all() 33 test_geometry<ls, ls>("LINESTRING(1 1,1 0)", "LINESTRING(0 0,1 0,2 0)", "txu++"); in test_all() 34 test_geometry<ls, ls>("LINESTRING(0 0,1 0)", "LINESTRING(0 0,1 0,2 0)", "tii++", "txu=="); in test_all() 35 test_geometry<ls, ls>("LINESTRING(2 0,1 0)", "LINESTRING(0 0,1 0,2 0)", "txi=+", "tix+="); in test_all() 37 test_geometry<ls, ls>("LINESTRING(0 0,1 0,2 0)", "LINESTRING(1 0,1 1)", "tuu++"); in test_all() 38 test_geometry<ls, ls>("LINESTRING(0 0,1 0,2 0)", "LINESTRING(1 0,0 0)", "tix+=", "tui=+"); in test_all() [all …]
|
D | get_turns_linear_areal.cpp | 33 …test_geometry<ls, poly>("LINESTRING(15 5,24 5,20 2,19 0,13 -4,1 0,10 0,13 3,15 7,16 10,10 10,8 10,… in test_all() 38 test_geometry<ls, poly>("LINESTRING(5 0,5 5,10 5)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 40 test_geometry<ls, poly>("LINESTRING(0 0,5 5,10 0)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 42 … test_geometry<ls, poly>("LINESTRING(0 0,5 0,5 5,10 5,10 0)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 44 …test_geometry<ls, poly>("LINESTRING(10 0,5 0,5 5,10 5,10 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))… in test_all() 47 test_geometry<ls, poly>("LINESTRING(0 0,10 0,10 10)", in test_all() 51 test_geometry<ls, poly>("LINESTRING(11 1,10 0,0 0)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 53 test_geometry<ls, poly>("LINESTRING(0 0,10 0,11 1)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 55 test_geometry<ls, poly>("LINESTRING(10 0,0 0,-1 1)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 59 test_geometry<ls, poly>("LINESTRING(9 1,10 5,9 9)", in test_all() [all …]
|
D | get_turns_linear_areal_sph.cpp | 23 …test_geometry<ls, poly>("LINESTRING(15 5,24 5,20 2,19 0,13 -4,1 0,10 0,13 3.0027386970408236,15 7,… in test_all() 28 test_geometry<ls, poly>("LINESTRING(5 0,5 5,10 5)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 30 test_geometry<ls, poly>("LINESTRING(0 0,5 5,10 0)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 32 … test_geometry<ls, poly>("LINESTRING(0 0,5 0,5 5,10 5,10 0)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 34 …test_geometry<ls, poly>("LINESTRING(10 0,5 0,5 5,10 5,10 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))… in test_all() 37 test_geometry<ls, poly>("LINESTRING(0 0,10 0,10 10.151081711048134)", in test_all() 41 test_geometry<ls, poly>("LINESTRING(11 1,10 0,0 0)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 43 test_geometry<ls, poly>("LINESTRING(0 0,10 0,11 1)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 45 test_geometry<ls, poly>("LINESTRING(10 0,0 0,-1 1)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_all() 49 test_geometry<ls, poly>("LINESTRING(9 1,10 5,9 9)", in test_all() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/ |
D | point_on_surface.cpp | 55 void test_geometry(std::string const& case_id, Geometry const& geometry, double /*expected_x*/ = 0,… in test_geometry() function 126 void test_geometry(std::string const& case_id, std::string const& wkt, double expected_x = 0, doubl… in test_geometry() function 131 test_geometry(case_id, geometry, expected_x, expected_y); in test_geometry() 142 …test_geometry<ccw_open_polygon>("with_hole_ccw_open", "POLYGON((0 0,9 0,9 9,0 9),(2 2,2 7,7 7,7 2)… in test_point_order_and_type() 143 …test_geometry<cw_open_polygon>("with_hole_cw_open", "POLYGON((0 0,0 9,9 9,9 0),(2 2,7 2,7 7,2 7))"… in test_point_order_and_type() 144 …test_geometry<ccw_closed_polygon>("with_hole_ccw_closed", "POLYGON((0 0,9 0,9 9,0 9,0 0),(2 2,2 7,… in test_point_order_and_type() 145 …test_geometry<cw_closed_polygon>("with_hole_cw_closed", "POLYGON((0 0,0 9,9 9,9 0,0 0),(2 2,7 2,7 … in test_point_order_and_type() 147 test_geometry<cw_closed_polygon>("t1", "POLYGON((0 0,0 10,10 0,0 0))", 0, 0); in test_point_order_and_type() 148 test_geometry<cw_closed_polygon>("t2", "POLYGON((0 0,10 0,0 -10,0 0))", 0, 0); in test_point_order_and_type() 149 test_geometry<cw_closed_polygon>("t3", "POLYGON((0 0,0 -10,-10 0,0 0))", 0, 0); in test_point_order_and_type() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/relate/ |
D | relate_linear_areal.cpp | 29 …test_geometry<ls, poly>("LINESTRING(11 0,11 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "FF1FF0212… in test_linestring_polygon() 30 …test_geometry<ls, ring>("LINESTRING(11 0,11 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "FF1FF0212… in test_linestring_polygon() 33 …test_geometry<ls, poly>("LINESTRING(0 0,10 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "1FFF0F2… in test_linestring_polygon() 34 …test_geometry<ls, poly>("LINESTRING(5 0,5 5,10 5)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "1FFF0F2… in test_linestring_polygon() 35 …test_geometry<ls, poly>("LINESTRING(5 1,5 5,9 5)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "1FF0FF2… in test_linestring_polygon() 38 …test_geometry<ls, poly>("LINESTRING(11 1,11 5)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "FF1FF0212"… in test_linestring_polygon() 40 …test_geometry<ls, poly>("LINESTRING(11 1,10 5)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "FF1F00212"… in test_linestring_polygon() 42 …test_geometry<ls, poly>("LINESTRING(11 1,10 5,10 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "F11F… in test_linestring_polygon() 43 …test_geometry<ls, poly>("LINESTRING(11 1,10 10,0 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "F11F… in test_linestring_polygon() 44 …test_geometry<ls, poly>("LINESTRING(11 1,10 0,0 0)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "F11F00… in test_linestring_polygon() [all …]
|
D | relate_linear_areal_sph.cpp | 24 …test_geometry<ls, poly>("LINESTRING(11 0,11 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "FF1FF0212… in test_linestring_polygon() 25 …test_geometry<ls, ring>("LINESTRING(11 0,11 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "FF1FF0212… in test_linestring_polygon() 28 …test_geometry<ls, poly>("LINESTRING(0 0,10 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "1FFF0F2… in test_linestring_polygon() 29 …test_geometry<ls, poly>("LINESTRING(5 0,5 5,10 5)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "1FFF0F2… in test_linestring_polygon() 30 …test_geometry<ls, poly>("LINESTRING(5 1,5 5,9 5)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "1FF0FF2… in test_linestring_polygon() 33 …test_geometry<ls, poly>("LINESTRING(11 1,11 5)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "FF1FF0212"… in test_linestring_polygon() 35 …test_geometry<ls, poly>("LINESTRING(11 1,10 5)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "FF1F00212"… in test_linestring_polygon() 37 …test_geometry<ls, poly>("LINESTRING(11 1,10 5,10 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "F11F… in test_linestring_polygon() 38 …test_geometry<ls, poly>("LINESTRING(11 1,10 10,0 10)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "F11F… in test_linestring_polygon() 39 …test_geometry<ls, poly>("LINESTRING(11 1,10 0,0 0)", "POLYGON((0 0,0 10,10 10,10 0,0 0))", "F11F00… in test_linestring_polygon() [all …]
|
D | relate_linear_linear.cpp | 24 test_geometry<ls, ls>("LINESTRING(0 0, 2 2, 3 2)", "LINESTRING(0 0, 2 2, 3 2)", "1FFF0FFF2"); in test_linestring_linestring() 25 test_geometry<ls, ls>("LINESTRING(0 0,3 2)", "LINESTRING(0 0, 2 2, 3 2)", "FF1F0F1F2"); in test_linestring_linestring() 26 test_geometry<ls, ls>("LINESTRING(1 0,2 2,2 3)", "LINESTRING(0 0, 2 2, 3 2)", "0F1FF0102"); in test_linestring_linestring() 28 test_geometry<ls, ls>("LINESTRING(0 0,5 0)", "LINESTRING(0 0,1 1,2 0,2 -1)", "0F1F00102"); in test_linestring_linestring() 30 … test_geometry<ls, ls>("LINESTRING(0 0, 1 1, 2 2, 3 2)", "LINESTRING(0 0, 2 2, 3 2)", "1FFF0FFF2"); in test_linestring_linestring() 31 … test_geometry<ls, ls>("LINESTRING(3 2, 2 2, 1 1, 0 0)", "LINESTRING(0 0, 2 2, 3 2)", "1FFF0FFF2"); in test_linestring_linestring() 32 … test_geometry<ls, ls>("LINESTRING(0 0, 1 1, 2 2, 3 2)", "LINESTRING(3 2, 2 2, 0 0)", "1FFF0FFF2"); in test_linestring_linestring() 33 … test_geometry<ls, ls>("LINESTRING(3 2, 2 2, 1 1, 0 0)", "LINESTRING(3 2, 2 2, 0 0)", "1FFF0FFF2"); in test_linestring_linestring() 35 … test_geometry<ls, ls>("LINESTRING(3 1, 2 2, 1 1, 0 0)", "LINESTRING(0 0, 2 2, 3 2)", "1F1F00102"); in test_linestring_linestring() 36 … test_geometry<ls, ls>("LINESTRING(3 3, 2 2, 1 1, 0 0)", "LINESTRING(0 0, 2 2, 3 2)", "1F1F00102"); in test_linestring_linestring() [all …]
|
D | relate_linear_linear_sph.cpp | 21 test_geometry<ls, ls>("LINESTRING(0 0, 2 2, 3 2)", "LINESTRING(0 0, 2 2, 3 2)", "1FFF0FFF2"); in test_linestring_linestring() 22 test_geometry<ls, ls>("LINESTRING(0 0,3 2)", "LINESTRING(0 0, 2 2, 3 2)", "FF1F0F1F2"); in test_linestring_linestring() 23 test_geometry<ls, ls>("LINESTRING(1 0,2 2,2 3)", "LINESTRING(0 0, 2 2, 3 2)", "0F1FF0102"); in test_linestring_linestring() 25 test_geometry<ls, ls>("LINESTRING(0 0,5 0)", "LINESTRING(0 0,1 1,2 0,2 -1)", "0F1F00102"); in test_linestring_linestring() 27 …test_geometry<ls, ls>("LINESTRING(0 0, 1 1.0004570537241206, 2 2, 3 2)", "LINESTRING(0 0, 2 2, 3 2… in test_linestring_linestring() 28 …test_geometry<ls, ls>("LINESTRING(3 2, 2 2, 1 1.0004570537241206, 0 0)", "LINESTRING(0 0, 2 2, 3 2… in test_linestring_linestring() 29 …test_geometry<ls, ls>("LINESTRING(0 0, 1 1.0004570537241206, 2 2, 3 2)", "LINESTRING(3 2, 2 2, 0 0… in test_linestring_linestring() 30 …test_geometry<ls, ls>("LINESTRING(3 2, 2 2, 1 1.0004570537241206, 0 0)", "LINESTRING(3 2, 2 2, 0 0… in test_linestring_linestring() 32 …test_geometry<ls, ls>("LINESTRING(3 1, 2 2, 1 1.0004570537241206, 0 0)", "LINESTRING(0 0, 2 2, 3 2… in test_linestring_linestring() 33 …test_geometry<ls, ls>("LINESTRING(3 3, 2 2.0015234344160047, 1 1.0012195839797347, 0 0)", "LINESTR… in test_linestring_linestring() [all …]
|
D | relate_areal_areal.cpp | 26 test_geometry<poly, poly>("POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_polygon_polygon() 29 test_geometry<poly, poly>("POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_polygon_polygon() 32 test_geometry<poly, poly>("POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_polygon_polygon() 37 test_geometry<poly, poly>("POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_polygon_polygon() 40 test_geometry<poly, poly>("POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_polygon_polygon() 43 test_geometry<poly, poly>("POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_polygon_polygon() 48 test_geometry<poly, poly>("POLYGON((0 0,0 10,10 10,10 0,0 0))", in test_polygon_polygon() 52 test_geometry<poly, poly>("POLYGON((0 0,0 10,10 10,10 0,0 0),(3 3,7 3,7 7,3 7,3 3))", in test_polygon_polygon() 56 test_geometry<poly, poly>("POLYGON((0 0,0 10,10 10,10 0,0 0),(3 3,7 3,7 7,3 7,3 3))", in test_polygon_polygon() 60 test_geometry<poly, poly>("POLYGON((0 0,0 10,10 10,10 0,0 0),(3 3,7 3,7 7,3 7,3 3))", in test_polygon_polygon() [all …]
|
D | relate_pointlike_geometry.cpp | 24 test_geometry<P, P>("POINT(0 0)", "POINT(0 0)", "0FFFFFFF2"); in test_point_point() 25 test_geometry<P, P>("POINT(1 0)", "POINT(0 0)", "FF0FFF0F2"); in test_point_point() 33 test_geometry<P, mpt>("POINT(0 0)", "MULTIPOINT(0 0)", "0FFFFFFF2"); in test_point_multipoint() 34 test_geometry<P, mpt>("POINT(1 0)", "MULTIPOINT(0 0)", "FF0FFF0F2"); in test_point_multipoint() 35 test_geometry<P, mpt>("POINT(0 0)", "MULTIPOINT(0 0, 1 0)", "0FFFFF0F2"); in test_point_multipoint() 43 test_geometry<mpt, mpt>("MULTIPOINT(0 0)", "MULTIPOINT(0 0)", "0FFFFFFF2"); in test_multipoint_multipoint() 44 test_geometry<mpt, mpt>("MULTIPOINT(1 0)", "MULTIPOINT(0 0)", "FF0FFF0F2"); in test_multipoint_multipoint() 45 test_geometry<mpt, mpt>("MULTIPOINT(0 0)", "MULTIPOINT(0 0, 1 0)", "0FFFFF0F2"); in test_multipoint_multipoint() 46 test_geometry<mpt, mpt>("MULTIPOINT(0 0, 1 0)", "MULTIPOINT(0 0)", "0F0FFFFF2"); in test_multipoint_multipoint() 47 test_geometry<mpt, mpt>("MULTIPOINT(0 0, 1 1)", "MULTIPOINT(0 0, 1 0)", "0F0FFF0F2"); in test_multipoint_multipoint() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/equals/ |
D | equals.cpp | 30 test_geometry<P, P>("ptpt2d_1", "POINT(0 0)", "POINT(0 0)", true); in test_pointlike() 31 test_geometry<P, P>("ptpt2d_2", "POINT(0 0)", "POINT(1 1)", false); in test_pointlike() 33 test_geometry<P, mpt>("ptmpt2d_1", "POINT(0 0)", "MULTIPOINT(0 0)", true); in test_pointlike() 34 test_geometry<P, mpt>("ptmpt2d_1", "POINT(0 0)", "MULTIPOINT(0 0, 1 1)", false); in test_pointlike() 36 test_geometry<mpt, P>("mptpt2d_1", "MULTIPOINT(0 0)", "POINT(0 0)", true); in test_pointlike() 37 test_geometry<mpt, P>("mptpt2d_1", "MULTIPOINT(0 0, 1 1)", "POINT(0 0)", false); in test_pointlike() 39 test_geometry<mpt, mpt>("mptmpt2d_1", "MULTIPOINT(0 0, 1 1)", "MULTIPOINT(0 0, 1 1)", true); in test_pointlike() 40 test_geometry<mpt, mpt>("mptmpt2d_1", "MULTIPOINT(0 0, 1 1)", "MULTIPOINT(0 0, 2 2)", false); in test_pointlike() 41 test_geometry<mpt, mpt>("mptmpt2d_1", "MULTIPOINT(0 0, 1 1)", "MULTIPOINT(2 2, 3 3)", false); in test_pointlike() 49 test_geometry<seg, seg>("seg2d_1", "LINESTRING(0 0, 3 3)", "LINESTRING(0 0, 3 3)", true); in test_segment_segment() [all …]
|
D | equals_on_spheroid.cpp | 34 test_geometry<P1, P2>(str + "pp_01", "POINT(0 0)", "POINT(0 0)", true); in apply() 35 test_geometry<P1, P2>(str + "pp_02", "POINT(0 0)", "POINT(10 0)", false); in apply() 38 test_geometry<P1, P2>(str + "pp_03", "POINT(0 0)", "POINT(360 0)", true); in apply() 39 test_geometry<P1, P2>(str + "pp_04", "POINT(10 0)", "POINT(370 0)", true); in apply() 40 test_geometry<P1, P2>(str + "pp_05", "POINT(10 0)", "POINT(-350 0)", true); in apply() 41 test_geometry<P1, P2>(str + "pp_06", "POINT(180 10)", "POINT(-180 10)", true); in apply() 42 test_geometry<P1, P2>(str + "pp_06a", "POINT(540 10)", "POINT(-540 10)", true); in apply() 45 test_geometry<P1, P2>(str + "pp_06b", "POINT(540 370)", "POINT(-540 -350)", true); in apply() 46 test_geometry<P1, P2>(str + "pp_06c", "POINT(1260 370)", "POINT(-1260 -350)", true); in apply() 47 test_geometry<P1, P2>(str + "pp_06d", "POINT(2340 370)", "POINT(-2340 -350)", true); in apply() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/covered_by/ |
D | covered_by_sph.cpp | 24 test_geometry<ring, ring>(case_1[0], case_1[1], in test_polygon_polygon() 26 test_geometry<ring, poly>(case_1[0], case_1[1], in test_polygon_polygon() 29 test_geometry<poly, poly>(case_1[0], case_1[1], in test_polygon_polygon() 31 test_geometry<poly, poly>(case_2[0], case_2[1], in test_polygon_polygon() 33 test_geometry<poly, poly>(case_3_sph[0], case_3_sph[1], in test_polygon_polygon() 35 test_geometry<poly, poly>(case_3_2_sph[0], case_3_2_sph[1], in test_polygon_polygon() 37 test_geometry<poly, poly>(case_4[0], case_4[1], in test_polygon_polygon() 39 test_geometry<poly, poly>(case_5[0], case_5[1], in test_polygon_polygon() 41 test_geometry<poly, poly>(case_6_sph[0], case_6_sph[1], in test_polygon_polygon() 43 test_geometry<poly, poly>(case_6_sph[1], case_6_sph[0], in test_polygon_polygon() [all …]
|
D | covered_by_sph_geo.cpp | 21 test_geometry<P, box_t>("POINT(0 0)", "BOX(0 0, 1 1)", true); in test_point_box() 22 test_geometry<P, box_t>("POINT(1 1)", "BOX(0 0, 2 2)", true); in test_point_box() 24 test_geometry<P, box_t>("POINT(180 1)", "BOX(170 0, 190 2)", true); in test_point_box() 25 test_geometry<P, box_t>("POINT(-180 1)", "BOX(170 0, 190 2)", true); in test_point_box() 26 test_geometry<P, box_t>("POINT(180 1)", "BOX(170 0, 180 2)", true); in test_point_box() 27 test_geometry<P, box_t>("POINT(-180 1)", "BOX(170 0, 180 2)", true); in test_point_box() 28 test_geometry<P, box_t>("POINT(179 1)", "BOX(170 0, 190 2)", true); in test_point_box() 29 test_geometry<P, box_t>("POINT(-179 1)", "BOX(170 0, 190 2)", true); in test_point_box() 30 test_geometry<P, box_t>("POINT(179 1)", "BOX(170 0, 180 2)", true); in test_point_box() 31 test_geometry<P, box_t>("POINT(-179 1)", "BOX(170 0, 180 2)", false); in test_point_box() [all …]
|
D | covered_by.cpp | 47 test_geometry<P, P>("POINT(0 0)", "POINT(0 0)", true); in test_all() 48 test_geometry<P, P>("POINT(0 0)", "POINT(1 1)", false); in test_all() 51 test_geometry<P, mpt>("POINT(0 0)", "MULTIPOINT(0 0, 1 1)", true); in test_all() 52 test_geometry<mpt, P>("MULTIPOINT(0 0, 1 1)", "POINT(1 1)", false); in test_all() 53 test_geometry<mpt, mpt>("MULTIPOINT(0 0, 1 1)", "MULTIPOINT(1 1, 2 2)", false); in test_all() 56 test_geometry<P, seg>("POINT(1 1)", "LINESTRING(0 0, 2 2)", true); in test_all() 57 test_geometry<P, seg>("POINT(0 0)", "LINESTRING(0 0, 1 1)", true); in test_all() 58 test_geometry<P, seg>("POINT(1 0)", "LINESTRING(0 0, 1 1)", false); in test_all() 62 test_geometry<P, ls>("POINT(0 0)", "LINESTRING(0 0,1 1,2 2)", true); in test_all() 63 test_geometry<P, ls>("POINT(3 3)", "LINESTRING(0 0,1 1,2 2)", false); in test_all() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/disjoint/ |
D | disjoint_sph.cpp | 26 test_geometry<ring, ring>(case_1[0], case_1[1], in test_polygon_polygon() 28 test_geometry<ring, poly>(case_1[0], case_1[1], in test_polygon_polygon() 31 test_geometry<poly, poly>(case_1[0], case_1[1], in test_polygon_polygon() 33 test_geometry<poly, poly>(case_2[0], case_2[1], in test_polygon_polygon() 35 test_geometry<poly, poly>(case_3_sph[0], case_3_sph[1], in test_polygon_polygon() 37 test_geometry<poly, poly>(case_3_2_sph[0], case_3_2_sph[1], in test_polygon_polygon() 39 test_geometry<poly, poly>(case_4[0], case_4[1], in test_polygon_polygon() 41 test_geometry<poly, poly>(case_5[0], case_5[1], in test_polygon_polygon() 43 test_geometry<poly, poly>(case_6_sph[0], case_6_sph[1], in test_polygon_polygon() 46 test_geometry<poly, poly>(case_7[0], case_7[1], in test_polygon_polygon() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/intersects/ |
D | intersects_sph_geo.cpp | 21 test_geometry<P, box_t>("POINT(0 0)", "BOX(0 0, 1 1)", true); in test_point_box() 22 test_geometry<P, box_t>("POINT(1 1)", "BOX(0 0, 2 2)", true); in test_point_box() 24 test_geometry<P, box_t>("POINT(180 1)", "BOX(170 0, 190 2)", true); in test_point_box() 25 test_geometry<P, box_t>("POINT(-180 1)", "BOX(170 0, 190 2)", true); in test_point_box() 26 test_geometry<P, box_t>("POINT(180 1)", "BOX(170 0, 180 2)", true); in test_point_box() 27 test_geometry<P, box_t>("POINT(-180 1)", "BOX(170 0, 180 2)", true); in test_point_box() 28 test_geometry<P, box_t>("POINT(179 1)", "BOX(170 0, 190 2)", true); in test_point_box() 29 test_geometry<P, box_t>("POINT(-179 1)", "BOX(170 0, 190 2)", true); in test_point_box() 30 test_geometry<P, box_t>("POINT(179 1)", "BOX(170 0, 180 2)", true); in test_point_box() 31 test_geometry<P, box_t>("POINT(-179 1)", "BOX(170 0, 180 2)", false); in test_point_box() [all …]
|
D | intersects_sph.cpp | 24 test_geometry<ring, ring>(case_1[0], case_1[1], in test_polygon_polygon() 26 test_geometry<ring, poly>(case_1[0], case_1[1], in test_polygon_polygon() 29 test_geometry<poly, poly>(case_1[0], case_1[1], in test_polygon_polygon() 31 test_geometry<poly, poly>(case_2[0], case_2[1], in test_polygon_polygon() 33 test_geometry<poly, poly>(case_3_sph[0], case_3_sph[1], in test_polygon_polygon() 35 test_geometry<poly, poly>(case_3_2_sph[0], case_3_2_sph[1], in test_polygon_polygon() 37 test_geometry<poly, poly>(case_4[0], case_4[1], in test_polygon_polygon() 39 test_geometry<poly, poly>(case_5[0], case_5[1], in test_polygon_polygon() 41 test_geometry<poly, poly>(case_6_sph[0], case_6_sph[1], in test_polygon_polygon() 44 test_geometry<poly, poly>(case_7[0], case_7[1], in test_polygon_polygon() [all …]
|
D | intersects.cpp | 27 …test_geometry<poly_ccw_o1, poly_ccw_o2>("POLYGON((1 1, 3 3, 2 5))", "POLYGON((0 0, 9 0, 9 9, 0 9),… in test_intersects_polygon_polygon() 28 …test_geometry<poly_ccw_o1, poly_ccw_o2>("POLYGON((6 6, 7 6, 7 7, 6 7))", "POLYGON((0 0, 9 0, 9 9, … in test_intersects_polygon_polygon() 29 …test_geometry<poly_ccw_o1, poly_ccw_o2>("POLYGON((7 7, 9 7, 9 9, 7 9))", "POLYGON((0 0, 9 0, 9 9, … in test_intersects_polygon_polygon() 38 test_geometry<ls, seg>("LINESTRING(1 1, 3 3, 2 5)", "SEGMENT(2 0, 2 6)", true); in test_intersects_linestring_segment() 39 test_geometry<ls, seg>("LINESTRING(1 1, 3 3)", "SEGMENT(1 0, 1 1)", true); in test_intersects_linestring_segment() 40 test_geometry<ls, seg>("LINESTRING(1 1, 3 3)", "SEGMENT(2 0, 2 2)", true); in test_intersects_linestring_segment() 41 test_geometry<ls, seg>("LINESTRING(1 1, 3 3)", "SEGMENT(3 0, 4 1)", false); in test_intersects_linestring_segment() 50 test_geometry<ls1, ls2>("LINESTRING(0 0,2 0,3 0)", "LINESTRING(0 0,1 1,2 2)", true); in test_intersects_linestring_linestring() 51 test_geometry<ls1, ls2>("LINESTRING(0 0,2 0,3 0)", "LINESTRING(2 2,1 1,0 0)", true); in test_intersects_linestring_linestring() 52 test_geometry<ls1, ls2>("LINESTRING(3 0,2 0,0 0)", "LINESTRING(0 0,1 1,2 2)", true); in test_intersects_linestring_linestring() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/within/ |
D | within_sph.cpp | 24 test_geometry<ring, ring>(case_1[0], case_1[1], in test_polygon_polygon() 26 test_geometry<ring, poly>(case_1[0], case_1[1], in test_polygon_polygon() 29 test_geometry<poly, poly>(case_1[0], case_1[1], in test_polygon_polygon() 31 test_geometry<poly, poly>(case_2[0], case_2[1], in test_polygon_polygon() 33 test_geometry<poly, poly>(case_3_sph[0], case_3_sph[1], in test_polygon_polygon() 35 test_geometry<poly, poly>(case_3_2_sph[0], case_3_2_sph[1], in test_polygon_polygon() 37 test_geometry<poly, poly>(case_4[0], case_4[1], in test_polygon_polygon() 39 test_geometry<poly, poly>(case_5[0], case_5[1], in test_polygon_polygon() 41 test_geometry<poly, poly>(case_6_sph[0], case_6_sph[1], in test_polygon_polygon() 43 test_geometry<poly, poly>(case_6_sph[1], case_6_sph[0], in test_polygon_polygon() [all …]
|
/third_party/boost/libs/geometry/test/strategies/ |
D | winding.cpp | 30 test_geometry<Point, polygon>("b1", "POINT(1 1)", box, s, true); in test_cartesian() 31 test_geometry<Point, polygon>("b2", "POINT(3 3)", box, s, false); in test_cartesian() 34 test_geometry<Point, polygon>("b3a", "POINT(0 0)", box, s, false); in test_cartesian() 35 test_geometry<Point, polygon>("b3b", "POINT(0 2)", box, s, false); in test_cartesian() 36 test_geometry<Point, polygon>("b3c", "POINT(2 2)", box, s, false); in test_cartesian() 37 test_geometry<Point, polygon>("b3d", "POINT(2 0)", box, s, false); in test_cartesian() 40 test_geometry<Point, polygon>("b4a", "POINT(0 1)", box, s, false); in test_cartesian() 41 test_geometry<Point, polygon>("b4b", "POINT(1 2)", box, s, false); in test_cartesian() 42 test_geometry<Point, polygon>("b4c", "POINT(2 1)", box, s, false); in test_cartesian() 43 test_geometry<Point, polygon>("b4d", "POINT(1 0)", box, s, false); in test_cartesian() [all …]
|
D | franklin.cpp | 30 test_geometry<Point, polygon>("b1", "POINT(1 1)", box, s, true); in test_all() 31 test_geometry<Point, polygon>("b2", "POINT(3 3)", box, s, false); in test_all() 34 test_geometry<Point, polygon>("b3a", "POINT(0 0)", box, s, true); // different in test_all() 35 test_geometry<Point, polygon>("b3b", "POINT(0 2)", box, s, false); in test_all() 36 test_geometry<Point, polygon>("b3c", "POINT(2 2)", box, s, false); in test_all() 37 test_geometry<Point, polygon>("b3d", "POINT(2 0)", box, s, false); in test_all() 40 test_geometry<Point, polygon>("b4a", "POINT(0 1)", box, s, true); // different in test_all() 41 test_geometry<Point, polygon>("b4b", "POINT(1 2)", box, s, false); in test_all() 42 test_geometry<Point, polygon>("b4c", "POINT(2 1)", box, s, false); in test_all() 43 test_geometry<Point, polygon>("b4d", "POINT(1 0)", box, s, true); // different in test_all() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/touches/ |
D | touches_sph.cpp | 24 test_geometry<ring, ring>(case_1[0], case_1[1], in test_polygon_polygon() 26 test_geometry<ring, poly>(case_1[0], case_1[1], in test_polygon_polygon() 29 test_geometry<poly, poly>(case_1[0], case_1[1], in test_polygon_polygon() 31 test_geometry<poly, poly>(case_2[0], case_2[1], in test_polygon_polygon() 33 test_geometry<poly, poly>(case_3_sph[0], case_3_sph[1], in test_polygon_polygon() 35 test_geometry<poly, poly>(case_3_2_sph[0], case_3_2_sph[1], in test_polygon_polygon() 37 test_geometry<poly, poly>(case_4[0], case_4[1], in test_polygon_polygon() 39 test_geometry<poly, poly>(case_5[0], case_5[1], in test_polygon_polygon() 41 test_geometry<poly, poly>(case_6_sph[0], case_6_sph[1], in test_polygon_polygon() 44 test_geometry<poly, poly>(case_7[0], case_7[1], in test_polygon_polygon() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/similarity/ |
D | discrete_hausdorff_distance.cpp | 38 test_geometry<P,mpoint_t>("POINT(3 1)","MULTIPOINT(0 0,3 4,4 3)", sqrt(5.0)); in test_all_cartesian() 39 …test_geometry<linestring_2d,linestring_2d >("LINESTRING(3 0,2 1,3 2)","LINESTRING(0 0,3 4,4 3)", 3… in test_all_cartesian() 40 test_geometry<mpoint_t,mpoint_t>("MULTIPOINT(3 0,2 1,3 2)","MULTIPOINT(0 0,3 4,4 3)", 3); in test_all_cartesian() 41 …test_geometry<linestring_2d,mlinestring_t >("LINESTRING(1 1,2 2,4 3)","MULTILINESTRING((0 0,3 4,4 … in test_all_cartesian() 42 …test_geometry<mlinestring_t,mlinestring_t >("MULTILINESTRING((3 0,2 1,3 2),(0 0,3 4,4 3))","MULTIL… in test_all_cartesian() 43 …test_geometry<linestring_2d,linestring_2d >("LINESTRING(0 0, 1 0, 1 1, 0 1, 0 0)","LINESTRING(0 0,… in test_all_cartesian() 44 …test_geometry<linestring_2d,linestring_2d >("LINESTRING(0 0, 1 0, 1 1, 0 1, 0 0)","LINESTRING(1 1,… in test_all_cartesian() 45 …test_geometry<linestring_2d,linestring_2d >("LINESTRING(0 0, 1 0, 1 1, 0 0)","LINESTRING(0 0, 1 0,… in test_all_cartesian() 46 …test_geometry<linestring_2d,linestring_2d >("LINESTRING(0 0, 1 0, 1 1, 0 0)","LINESTRING(1 1, 0 0,… in test_all_cartesian() 47 test_geometry<linestring_2d,linestring_2d >("LINESTRING(0 0, 1 0)","LINESTRING(0 0, 1 0)",0); in test_all_cartesian() [all …]
|