Home
last modified time | relevance | path

Searched refs:ls1 (Results 1 – 19 of 19) sorted by relevance

/third_party/boost/libs/geometry/test/algorithms/within/
Dwithin_linear_linear.cpp26 typedef bg::model::linestring<P1> ls1; in test_l_l() typedef
27 typedef bg::model::multi_linestring<ls1> mls1; in test_l_l()
31 test_geometry<ls1, ls2>("LINESTRING(0 0, 2 2, 3 2)", "LINESTRING(0 0, 2 2, 3 2)", true); in test_l_l()
33 test_geometry<ls1, ls2>("LINESTRING(0 0, 1 1, 2 2, 3 2)", "LINESTRING(0 0, 2 2, 3 2)", true); in test_l_l()
34 test_geometry<ls1, ls2>("LINESTRING(3 2, 2 2, 1 1, 0 0)", "LINESTRING(0 0, 2 2, 3 2)", true); in test_l_l()
35 test_geometry<ls1, ls2>("LINESTRING(0 0, 1 1, 2 2, 3 2)", "LINESTRING(3 2, 2 2, 0 0)", true); in test_l_l()
36 test_geometry<ls1, ls2>("LINESTRING(3 2, 2 2, 1 1, 0 0)", "LINESTRING(3 2, 2 2, 0 0)", true); in test_l_l()
38 test_geometry<ls1, ls2>("LINESTRING(1 1, 2 2, 3 2)", "LINESTRING(0 0, 2 2, 4 2)", true); in test_l_l()
39 test_geometry<ls1, ls2>("LINESTRING(3 2, 2 2, 1 1)", "LINESTRING(0 0, 2 2, 4 2)", true); in test_l_l()
40 test_geometry<ls1, ls2>("LINESTRING(1 1, 2 2, 3 2)", "LINESTRING(4 2, 2 2, 0 0)", true); in test_l_l()
[all …]
/third_party/boost/libs/geometry/doc/src/examples/geometries/
Dlinestring.cpp25 linestring_t ls1; /*< Default-construct a linestring. >*/ in main() local
34 bg::append(ls1, point_t(0.0, 0.0)); /*< Append point. >*/ in main()
35 bg::append(ls1, point_t(1.0, 0.0)); in main()
36 bg::append(ls1, point_t(1.0, 2.0)); in main()
38 double l = bg::length(ls1); in main()
/third_party/boost/boost/geometry/algorithms/detail/is_simple/
Dlinear.hpp153 static inline bool have_same_boundary_points(Linestring1 const& ls1, in have_same_boundary_points() argument
157 equals_point_point(range::front(ls1), range::front(ls2)) in have_same_boundary_points()
159 equals_point_point(range::back(ls1), range::back(ls2)) in have_same_boundary_points()
161 (equals_point_point(range::front(ls1), range::back(ls2)) in have_same_boundary_points()
163 equals_point_point(range::back(ls1), range::front(ls2))) in have_same_boundary_points()
177 linestring_type const& ls1 = in apply() local
186 return is_closing_point_of(turn, ls1); in apply()
190 is_boundary_point_of(turn.point, ls1) in apply()
193 ( boost::size(ls1) != 2 in apply()
195 || ! have_same_boundary_points(ls1, ls2) ); in apply()
/third_party/boost/libs/geometry/test/algorithms/intersects/
Dintersects.cpp47 typedef bg::model::linestring<P1> ls1; in test_intersects_linestring_linestring() typedef
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()
53 test_geometry<ls1, ls2>("LINESTRING(3 0,2 0,0 0)", "LINESTRING(2 2,1 1,0 0)", true); in test_intersects_linestring_linestring()
55 test_geometry<ls1, ls2>("LINESTRING(0 0,2 0,3 0)", "LINESTRING(1 0,4 0,5 0)", true); in test_intersects_linestring_linestring()
56 test_geometry<ls1, ls2>("LINESTRING(1 0,2 0)", "LINESTRING(1 0,0 0)", true); in test_intersects_linestring_linestring()
/third_party/boost/libs/geometry/example/
D04_boost_example.cpp40 linestring ls1; in main() local
41 ls1 += point(1,2); in main()
42 ls1 += point(3,4), point(5,6), point(7,8); in main()
43 std::cout << dsv(ls1) << std::endl; in main()
/third_party/boost/libs/geometry/doc/src/examples/algorithms/
Ddiscrete_frechet_distance.cpp23 linestring_type ls1, ls2; in main() local
24 boost::geometry::read_wkt("LINESTRING(0 0,1 1,1 2,2 1,2 2)", ls1); in main()
27 double res = boost::geometry::discrete_frechet_distance(ls1, ls2); in main()
Ddiscrete_frechet_distance_strategy.cpp24 linestring_type ls1, ls2; in main() local
25 bg::read_wkt("LINESTRING(0 0,1 1,1 2,2 1,2 2)", ls1); in main()
31 double res = bg::discrete_frechet_distance(ls1, ls2, strategy); in main()
Ddiscrete_hausdorff_distance_strategy.cpp24 linestring_type ls1, ls2; in main() local
25 bg::read_wkt("LINESTRING(0 0,1 1,1 2,2 1,2 2)", ls1); in main()
31 double res = bg::discrete_hausdorff_distance(ls1, ls2, strategy); in main()
Ddiscrete_hausdorff_distance.cpp23 linestring_type ls1, ls2; in main() local
27 double res = boost::geometry::discrete_hausdorff_distance(ls1, ls2); in main()
/third_party/boost/libs/math/test/
Dlegendre_stieltjes_test.cpp31 legendre_stieltjes<Real> ls1(1); in test_legendre_stieltjes() local
40 BOOST_CHECK_CLOSE_FRACTION(ls1(x), x, tol); in test_legendre_stieltjes()
41 BOOST_CHECK_CLOSE_FRACTION(ls1.prime(x), 1, tol); in test_legendre_stieltjes()
68 BOOST_CHECK_CLOSE_FRACTION(expected_norm_sq, ls1.norm_sq(), tol); in test_legendre_stieltjes()
87 std::vector<Real> zeros = ls1.zeros(); in test_legendre_stieltjes()
90 BOOST_CHECK_SMALL(ls1(zeros[0]), tol); in test_legendre_stieltjes()
/third_party/boost/libs/geometry/test/algorithms/relate/
Drelate_linear_linear.cpp213 ls ls1, ls2, ls3, ls4; in test_linestring_linestring() local
214 bg::read_wkt("LINESTRING(0 0,2 0)", ls1); in test_linestring_linestring()
218 BOOST_CHECK(bg::relate(ls1, ls2, bg::de9im::mask("FT*******") in test_linestring_linestring()
221 BOOST_CHECK(bg::relate(ls1, ls3, bg::de9im::mask("FT*******") in test_linestring_linestring()
224 BOOST_CHECK(bg::relate(ls3, ls1, bg::de9im::mask("FT*******") in test_linestring_linestring()
229 BOOST_CHECK(bg::relate(ls1, ls2, bg::de9im::static_mask<'F','T'>() in test_linestring_linestring()
232 BOOST_CHECK(bg::relate(ls1, ls2, bg::de9im::mask("FT") in test_linestring_linestring()
236 BOOST_CHECK_THROW(bg::relate(ls1, ls2, bg::de9im::mask("A")), bg::invalid_input_exception); in test_linestring_linestring()
Drelate_linear_linear_sph.cpp210 ls ls1, ls2, ls3, ls4; in test_linestring_linestring() local
211 bg::read_wkt("LINESTRING(0 0,2 0)", ls1); in test_linestring_linestring()
215 BOOST_CHECK(bg::relate(ls1, ls2, bg::de9im::mask("FT*******") in test_linestring_linestring()
218 BOOST_CHECK(bg::relate(ls1, ls3, bg::de9im::mask("FT*******") in test_linestring_linestring()
221 BOOST_CHECK(bg::relate(ls3, ls1, bg::de9im::mask("FT*******") in test_linestring_linestring()
226 BOOST_CHECK(bg::relate(ls1, ls2, bg::de9im::static_mask<'F','T'>() in test_linestring_linestring()
229 BOOST_CHECK(bg::relate(ls1, ls2, bg::de9im::mask("FT") in test_linestring_linestring()
233 BOOST_CHECK_THROW(bg::relate(ls1, ls2, bg::de9im::mask("A")), bg::invalid_input_exception); in test_linestring_linestring()
/third_party/boost/boost/geometry/algorithms/
Ddiscrete_frechet_distance.hpp75 >::type apply(Linestring1 const& ls1, Linestring2 const& ls2, Strategy const& strategy) in apply()
87 boost::geometry::detail::throw_on_empty_input(ls1); in apply()
90 size_type1 const a = boost::size(ls1); in apply()
103 result_type dis = strategy.apply(range::at(ls1,i), range::at(ls2,j)); in apply()
/third_party/boost/libs/geometry/test/geometries/
Dinitialization.cpp134 ls ls1 = {{0, 0}, {1, 0}, {2, 0}}; in test_initializer_list_2d() local
135 BOOST_CHECK(bg::num_geometries(ls1) == 1); in test_initializer_list_2d()
136 BOOST_CHECK(bg::num_points(ls1) == 3); in test_initializer_list_2d()
138 ls1 = {{0, 0}, {1, 0}, {2, 0}, {3, 0}}; in test_initializer_list_2d()
139 BOOST_CHECK(bg::num_points(ls1) == 4); in test_initializer_list_2d()
/third_party/boost/libs/geometry/test/algorithms/
Dis_simple.cpp266 linestring_type ls1, ls2; in BOOST_AUTO_TEST_CASE() local
267 bg::read_wkt("LINESTRING(1 1,1.115235e+308 1.738137e+308)", ls1); in BOOST_AUTO_TEST_CASE()
273 bg::intersection(ls1, ls2, mls); in BOOST_AUTO_TEST_CASE()
Dis_valid.cpp1357 linestring_type ls1, ls2; in BOOST_AUTO_TEST_CASE() local
1358 bg::read_wkt("LINESTRING(1 1,1.115235e+308 1.738137e+308)", ls1); in BOOST_AUTO_TEST_CASE()
1364 bg::intersection(ls1, ls2, mls); in BOOST_AUTO_TEST_CASE()
/third_party/libjpeg-turbo/release/
DLicense.rtf5 {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}}
13 \ls1\ilvl0\cf0 {\listtext \'95 }Redistributions of source code must retain the above copyright noti…
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/release/
DLicense.rtf5 {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}}
13 \ls1\ilvl0\cf0 {\listtext \'95 }Redistributions of source code must retain the above copyright noti…
/third_party/gstreamer/gstreamer/tools/
Dgst-stats.c148 const GstLatencyStats *ls1 = a, *ls2 = b; in sort_latency_stats_by_first_ts() local
150 return (GST_CLOCK_DIFF (ls2->first_latency_ts, ls1->first_latency_ts)); in sort_latency_stats_by_first_ts()