/third_party/boost/libs/geometry/test/algorithms/distance/ |
D | distance_ca_l_ar.cpp | 36 namespace services = bg::strategy::distance::services; 39 typedef bg::strategy::distance::pythagoras<> point_point_strategy; 40 typedef bg::strategy::distance::projected_point<> point_segment_strategy; 41 typedef bg::strategy::distance::cartesian_segment_box<> segment_box_strategy; 46 void test_distance_segment_polygon(Strategy const& strategy) in test_distance_segment_polygon() argument 56 10, 100, strategy); in test_distance_segment_polygon() 60 10, 100, strategy); in test_distance_segment_polygon() 64 0, 0, strategy); in test_distance_segment_polygon() 68 0, 0, strategy); in test_distance_segment_polygon() 72 sqrt(2.0), 2, strategy); in test_distance_segment_polygon() [all …]
|
D | distance_se_pl_l.cpp | 32 namespace services = bg::strategy::distance::services; 35 typedef bg::strategy::distance::haversine<double> point_point_strategy; 36 typedef bg::strategy::distance::cross_track<> point_segment_strategy; 45 Strategy const& strategy) in pp_distance() argument 50 return bg::distance(p1, p2) * strategy.radius(); in pp_distance() 69 Strategy const& strategy) in ps_distance() argument 75 return bg::distance(p, s, strategy); in ps_distance() 82 Strategy const& strategy) in ps_comparable_distance() argument 88 return bg::comparable_distance(p, s, strategy); in ps_comparable_distance() 92 T to_comparable(Strategy const& strategy, T const& distance) in to_comparable() argument [all …]
|
D | distance_ca_pl_ar.cpp | 33 namespace services = bg::strategy::distance::services; 36 typedef bg::strategy::distance::pythagoras<> point_point_strategy; 37 typedef bg::strategy::distance::projected_point<> point_segment_strategy; 38 typedef bg::strategy::distance::pythagoras_point_box<> point_box_strategy; 43 void test_distance_point_polygon(Strategy const& strategy) in test_distance_point_polygon() argument 53 10, 100, strategy); in test_distance_point_polygon() 57 2, 4, strategy); in test_distance_point_polygon() 61 0, 0, strategy); in test_distance_point_polygon() 66 5, 25, strategy); in test_distance_point_polygon() 71 sqrt(50.0), 50, strategy); in test_distance_point_polygon() [all …]
|
D | distance_ca_ar_ar.cpp | 31 namespace services = bg::strategy::distance::services; 34 typedef bg::strategy::distance::projected_point<> point_segment_strategy; 35 typedef bg::strategy::distance::pythagoras_box_box<> box_box_strategy; 40 void test_distance_polygon_polygon(Strategy const& strategy) in test_distance_polygon_polygon() argument 50 10, 100, strategy); in test_distance_polygon_polygon() 54 0, 0, strategy); in test_distance_polygon_polygon() 58 0, 0, strategy); in test_distance_polygon_polygon() 63 4, 16, strategy); in test_distance_polygon_polygon() 69 void test_distance_polygon_multipolygon(Strategy const& strategy) in test_distance_polygon_multipolygon() argument 83 0.1, 0.01, strategy); in test_distance_polygon_multipolygon() [all …]
|
D | distance_ca_pl_l.cpp | 29 namespace services = bg::strategy::distance::services; 32 typedef bg::strategy::distance::pythagoras<> point_point_strategy; 33 typedef bg::strategy::distance::projected_point<> point_segment_strategy; 40 void test_distance_point_segment(Strategy const& strategy) in test_distance_point_segment() argument 48 tester::apply("point(0 0)", "segment(2 0,3 0)", 2, 4, strategy); in test_distance_point_segment() 49 tester::apply("point(2.5 3)", "segment(2 0,3 0)", 3, 9, strategy); in test_distance_point_segment() 50 tester::apply("point(2 0)", "segment(2 0,3 0)", 0, 0, strategy); in test_distance_point_segment() 51 tester::apply("point(3 0)", "segment(2 0,3 0)", 0, 0, strategy); in test_distance_point_segment() 52 tester::apply("point(2.5 0)", "segment(2 0,3 0)", 0, 0, strategy); in test_distance_point_segment() 57 0, 0, strategy, false); in test_distance_point_segment() [all …]
|
D | distance_ca_l_l.cpp | 28 namespace services = bg::strategy::distance::services; 31 typedef bg::strategy::distance::projected_point<> point_segment_strategy; 36 void test_distance_segment_segment(Strategy const& strategy) in test_distance_segment_segment() argument 46 return_type(0.5), return_type(0.25), strategy); in test_distance_segment_segment() 50 return_type(0), return_type(0), strategy); in test_distance_segment_segment() 54 return_type(0), return_type(0), strategy); in test_distance_segment_segment() 58 return_type(2), return_type(4), strategy); in test_distance_segment_segment() 64 void test_distance_segment_linestring(Strategy const& strategy) in test_distance_segment_linestring() argument 74 sqrt(12.5), 12.5, strategy); in test_distance_segment_linestring() 78 0, 0, strategy); in test_distance_segment_linestring() [all …]
|
D | test_empty_geometry.hpp | 16 void test_more_empty_input_pointlike_pointlike(Strategy const& strategy) in test_more_empty_input_pointlike_pointlike() argument 27 test_empty_input(multipoint_empty, point, strategy); in test_more_empty_input_pointlike_pointlike() 30 test_empty_input(point, multipoint_empty, strategy); in test_more_empty_input_pointlike_pointlike() 33 test_empty_input(multipoint_empty, multipoint_empty, strategy); in test_more_empty_input_pointlike_pointlike() 42 void test_more_empty_input_pointlike_linear(Strategy const& strategy) in test_more_empty_input_pointlike_linear() argument 57 test_empty_input(multipoint_empty, line, strategy); in test_more_empty_input_pointlike_linear() 60 test_empty_input(line, multipoint_empty, strategy); in test_more_empty_input_pointlike_linear() 61 test_empty_input(point, line_empty, strategy); in test_more_empty_input_pointlike_linear() 62 test_empty_input(point, multiline_empty, strategy); in test_more_empty_input_pointlike_linear() 65 test_empty_input(multipoint_empty, line_empty, strategy); in test_more_empty_input_pointlike_linear() [all …]
|
D | distance_se_pl_pl.cpp | 31 namespace distance = bg::strategy::distance; 44 Strategy const& strategy) in distance_from_wkt() argument 49 return bg::distance(p1, p2, strategy); in distance_from_wkt() 65 void test_distance_point_point(Strategy const& strategy, in test_distance_point_point() argument 69 double r = strategy.radius(); in test_distance_point_point() 84 strategy); in test_distance_point_point() 89 strategy); in test_distance_point_point() 99 strategy); in test_distance_point_point() 107 strategy); in test_distance_point_point() 117 strategy); in test_distance_point_point() [all …]
|
D | test_distance_geo_common.hpp | 51 typedef bg::strategy::distance::haversine<double> spherical_pp; 55 typedef bg::strategy::distance::andoyer<stype> andoyer_pp; 56 typedef bg::strategy::distance::thomas<stype> thomas_pp; 57 typedef bg::strategy::distance::vincenty<stype> vincenty_pp; 61 typedef bg::strategy::distance::cross_track<> spherical_ps; 65 typedef bg::strategy::distance::geographic_cross_track<bg::strategy::andoyer, stype, double> 68 typedef bg::strategy::distance::geographic_cross_track<bg::strategy::thomas, stype, double> 71 typedef bg::strategy::distance::geographic_cross_track<bg::strategy::vincenty, stype, double> 74 typedef bg::strategy::distance::detail::geographic_cross_track<bg::strategy::vincenty, stype, doubl… 79 typedef bg::strategy::distance::cross_track_point_box<> spherical_pb; [all …]
|
D | distance_brute_force.hpp | 63 Strategy const& strategy) in apply() 68 return geometry::distance(geometry1, geometry2, strategy); in apply() 78 Strategy const& strategy) in bg_distance() argument 80 return distance_from_bg::apply(geometry1, geometry2, strategy); in bg_distance() 95 Strategy const& strategy) in apply() 108 distance_type d = Policy::apply(geometry, *it, strategy); in apply() 163 Strategy const& strategy) in apply() 168 >::apply(geometry2, geometry1, strategy); in apply() 220 Strategy const& strategy) in apply() 228 strategy); in apply() [all …]
|
/third_party/boost/libs/geometry/test/cs_undefined/ |
D | distance.cpp | 18 bg::distance(g.pt, g.pt, bg::strategy::distance::pythagoras<>()); in test_main() 19 bg::distance(g.pt, g.pt, bg::strategy::distance::haversine<>()); in test_main() 20 bg::distance(g.pt, g.pt, bg::strategy::distance::geographic<>()); in test_main() 21 bg::distance(g.pt, g.mpt, bg::strategy::distance::pythagoras<>()); in test_main() 22 bg::distance(g.pt, g.mpt, bg::strategy::distance::haversine<>()); in test_main() 23 bg::distance(g.pt, g.mpt, bg::strategy::distance::geographic<>()); in test_main() 24 bg::distance(g.mpt, g.mpt, bg::strategy::distance::pythagoras<>()); in test_main() 25 bg::distance(g.mpt, g.mpt, bg::strategy::distance::haversine<>()); in test_main() 26 bg::distance(g.mpt, g.mpt, bg::strategy::distance::geographic<>()); in test_main() 27 bg::distance(g.pt, g.ls, bg::strategy::distance::projected_point<>()); in test_main() [all …]
|
D | measure.cpp | 20 bg::area(g.r, bg::strategy::area::cartesian<>()); in test_main() 21 bg::area(g.r, bg::strategy::area::spherical<>()); in test_main() 22 bg::area(g.r, bg::strategy::area::geographic<>()); in test_main() 23 bg::area(g.po, bg::strategy::area::cartesian<>()); in test_main() 24 bg::area(g.po, bg::strategy::area::spherical<>()); in test_main() 25 bg::area(g.po, bg::strategy::area::geographic<>()); in test_main() 26 bg::area(g.mpo, bg::strategy::area::cartesian<>()); in test_main() 27 bg::area(g.mpo, bg::strategy::area::spherical<>()); in test_main() 28 bg::area(g.mpo, bg::strategy::area::geographic<>()); in test_main() 30 bg::length(g.s, bg::strategy::distance::pythagoras<>()); in test_main() [all …]
|
D | envelope_expand.cpp | 19 bg::expand(g.b, g.pt, bg::strategy::expand::cartesian_point()); in test_main() 20 bg::expand(g.b, g.pt, bg::strategy::expand::spherical_point()); in test_main() 21 bg::expand(g.b, g.b, bg::strategy::expand::cartesian_box()); in test_main() 22 bg::expand(g.b, g.b, bg::strategy::expand::spherical_box()); in test_main() 23 bg::expand(g.b, g.s, bg::strategy::expand::cartesian_segment()); in test_main() 24 bg::expand(g.b, g.s, bg::strategy::expand::spherical_segment<>()); in test_main() 25 bg::expand(g.b, g.s, bg::strategy::expand::geographic_segment<>()); in test_main() 27 bg::envelope(g.pt, g.b, bg::strategy::envelope::cartesian_point()); in test_main() 28 bg::envelope(g.pt, g.b, bg::strategy::envelope::spherical_point()); in test_main() 29 bg::envelope(g.b, g.b, bg::strategy::envelope::cartesian_box()); in test_main() [all …]
|
D | index.cpp | 70 rtree_test(g.pt, bgi::parameters<bgi::linear<4>, bg::strategy::index::cartesian<> >()); in test_main() 71 rtree_test(g.pt, bgi::parameters<bgi::quadratic<4>, bg::strategy::index::cartesian<> >()); in test_main() 72 rtree_test(g.pt, bgi::parameters<bgi::rstar<4>, bg::strategy::index::cartesian<> >()); in test_main() 73 rtree_test(g.b, bgi::parameters<bgi::linear<4>, bg::strategy::index::cartesian<> >()); in test_main() 74 rtree_test(g.b, bgi::parameters<bgi::quadratic<4>, bg::strategy::index::cartesian<> >()); in test_main() 75 rtree_test(g.b, bgi::parameters<bgi::rstar<4>, bg::strategy::index::cartesian<> >()); in test_main() 76 rtree_test(g.s, bgi::parameters<bgi::linear<4>, bg::strategy::index::cartesian<> >()); in test_main() 77 rtree_test(g.s, bgi::parameters<bgi::quadratic<4>, bg::strategy::index::cartesian<> >()); in test_main() 78 rtree_test(g.s, bgi::parameters<bgi::rstar<4>, bg::strategy::index::cartesian<> >()); in test_main() 80 rtree_test(g.pt, bgi::parameters<bgi::linear<4>, bg::strategy::index::spherical<> >()); in test_main() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/area/ |
D | area_geo.cpp | 31 bg::strategy::area::geographic<> geographic_default; in test_geo_strategies() 33 bg::strategy::area::geographic<bg::strategy::andoyer, 1> in test_geo_strategies() 35 bg::strategy::area::geographic<bg::strategy::andoyer, 2> in test_geo_strategies() 37 bg::strategy::area::geographic<bg::strategy::andoyer, 3> in test_geo_strategies() 39 bg::strategy::area::geographic<bg::strategy::andoyer, 4> in test_geo_strategies() 41 bg::strategy::area::geographic<bg::strategy::andoyer, 5> in test_geo_strategies() 44 bg::strategy::area::geographic<bg::strategy::thomas, 1> in test_geo_strategies() 46 bg::strategy::area::geographic<bg::strategy::thomas, 2> in test_geo_strategies() 48 bg::strategy::area::geographic<bg::strategy::thomas, 3> in test_geo_strategies() 50 bg::strategy::area::geographic<bg::strategy::thomas, 4> in test_geo_strategies() [all …]
|
/third_party/boost/boost/geometry/strategies/geographic/ |
D | index.hpp | 31 namespace boost { namespace geometry { namespace strategy { namespace index namespace 36 typename FormulaPolicy = strategy::andoyer, 45 typedef geometry::strategy::envelope::geographic_segment 55 typedef geometry::strategy::expand::geographic_segment 66 typedef geometry::strategy::intersection::geographic_segments 71 strategy::default_order<FormulaPolicy>::value, 81 typedef geometry::strategy::distance::geographic 91 typedef geometry::strategy::distance::geographic_cross_track_point_box 101 typedef geometry::strategy::distance::geographic_cross_track 111 typedef geometry::strategy::distance::geographic_segment_box [all …]
|
/third_party/boost/libs/geometry/test/strategies/ |
D | envelope_segment.cpp | 29 bg::strategy::envelope::geographic_segment in test_strategies_lat() 44 typedef bg::strategy::envelope::spherical_segment<CT> strategy_sph_t; in test_strategies_lat() 62 test_strategies_lat<bg::strategy::thomas> in test_all() 65 test_strategies_lat<bg::strategy::thomas> in test_all() 67 test_strategies_lat<bg::strategy::thomas> in test_all() 69 test_strategies_lat<bg::strategy::thomas> in test_all() 71 test_strategies_lat<bg::strategy::thomas> in test_all() 75 test_strategies_lat<bg::strategy::thomas> in test_all() 77 test_strategies_lat<bg::strategy::thomas> in test_all() 81 test_strategies_lat<bg::strategy::thomas> in test_all() [all …]
|
/third_party/boost/boost/geometry/strategies/spherical/ |
D | index.hpp | 31 namespace boost { namespace geometry { namespace strategy { namespace index namespace 42 typedef geometry::strategy::envelope::spherical_point envelope_point_strategy_type; 43 typedef geometry::strategy::envelope::spherical_box envelope_box_strategy_type; 44 typedef geometry::strategy::envelope::spherical_segment 54 typedef geometry::strategy::expand::spherical_point expand_point_strategy_type; 55 typedef geometry::strategy::expand::spherical_box expand_box_strategy_type; 56 typedef geometry::strategy::expand::spherical_segment 66 typedef geometry::strategy::covered_by::spherical_point_box covered_by_point_box_strategy_type; 67 typedef geometry::strategy::covered_by::spherical_box_box covered_by_box_box_strategy_type; 68 typedef geometry::strategy::within::spherical_point_point within_point_point_strategy_type; [all …]
|
/third_party/boost/boost/geometry/strategies/cartesian/ |
D | index.hpp | 37 namespace boost { namespace geometry { namespace strategy { namespace index namespace 48 typedef geometry::strategy::envelope::cartesian_point envelope_point_strategy_type; 49 typedef geometry::strategy::envelope::cartesian_box envelope_box_strategy_type; 50 typedef geometry::strategy::envelope::cartesian_segment 60 typedef geometry::strategy::expand::cartesian_point expand_point_strategy_type; 61 typedef geometry::strategy::expand::cartesian_box expand_box_strategy_type; 62 typedef geometry::strategy::expand::cartesian_segment expand_segment_strategy_type; 69 typedef geometry::strategy::covered_by::cartesian_point_box covered_by_point_box_strategy_type; 70 typedef geometry::strategy::covered_by::cartesian_box_box covered_by_box_box_strategy_type; 71 typedef geometry::strategy::within::cartesian_point_point within_point_point_strategy_type; [all …]
|
/third_party/boost/boost/geometry/algorithms/detail/within/ |
D | point_in_geometry.hpp | 49 inline bool equals_point_point(Point1 const& p1, Point2 const& p2, Strategy const& strategy) in equals_point_point() argument 51 return equals::equals_point_point(p1, p2, strategy.get_equals_point_point_strategy()); in equals_point_point() 68 int point_in_range(Point const& point, Range const& range, Strategy const& strategy) in point_in_range() argument 70 boost::ignore_unused(strategy); in point_in_range() 79 if ( ! strategy.apply(point, *previous, *it, state) ) in point_in_range() 85 return check_result_type(strategy.result(state)); in point_in_range() 91 typedef typename strategy::point_in_geometry::services::default_strategy in point_in_range() 118 int apply(Point1 const& point1, Point2 const& point2, Strategy const& strategy) in apply() 120 boost::ignore_unused(strategy); in apply() 121 return strategy.apply(point1, point2) ? 1 : -1; in apply() [all …]
|
/third_party/boost/boost/geometry/algorithms/detail/distance/ |
D | point_to_geometry.hpp | 65 typename strategy::distance::services::return_type<Strategy, P1, P2>::type 66 apply(P1 const& p1, P2 const& p2, Strategy const& strategy) in apply() 68 boost::ignore_unused(strategy); in apply() 69 return strategy.apply(p1, p2); in apply() 84 typedef typename strategy::distance::services::comparable_type 95 typedef typename strategy::distance::services::return_type 103 Strategy const& strategy) in apply() argument 112 namespace sds = strategy::distance::services; in apply() 132 >::apply(strategy), in apply() 140 strategy.apply(point, *it_pair.first, *it_pair.second); in apply() [all …]
|
/third_party/boost/boost/geometry/algorithms/detail/buffer/ |
D | buffer_inserter.hpp | 67 typedef typename strategy::distance::services::default_strategy in simplify_input() 71 typedef strategy::simplify::douglas_peucker in simplify_input() 108 geometry::strategy::buffer::buffer_side_selector side, in add_join() 115 geometry::strategy::buffer::join_selector const join in add_join() 121 case geometry::strategy::buffer::join_continue : in add_join() 124 case geometry::strategy::buffer::join_concave : in add_join() 129 … collection.add_piece(geometry::strategy::buffer::buffered_concave, previous_input, range_out); in add_join() 134 … collection.add_piece(geometry::strategy::buffer::buffered_concave, previous_input, range_out); in add_join() 137 case geometry::strategy::buffer::join_spike : in add_join() 147 case geometry::strategy::buffer::join_convex : in add_join() [all …]
|
/third_party/boost/boost/geometry/policies/ |
D | compare.hpp | 53 typedef typename strategy::compare::services::default_strategy in operator ()() 55 strategy::compare::less, in operator ()() 73 typedef typename strategy::compare::services::default_strategy in operator ()() 75 strategy::compare::less, in operator ()() 94 typedef typename strategy::compare::services::default_strategy in operator ()() 96 strategy::compare::less, in operator ()() 113 typedef typename strategy::compare::services::default_strategy in operator ()() 115 strategy::compare::less, in operator ()() 145 typedef typename strategy::compare::services::default_strategy in operator ()() 147 strategy::compare::greater, in operator ()() [all …]
|
/third_party/boost/boost/geometry/algorithms/detail/closest_feature/ |
D | point_to_range.hpp | 49 Strategy const& strategy, in apply() argument 63 dist_min = strategy.apply(point, *first, *first); in apply() 68 dist_min = strategy.apply(point, *prev, *it); in apply() 74 Distance const dist = strategy.apply(point, *prev, *it); in apply() 103 Strategy const& strategy, in apply() argument 107 apply(point, first, last, strategy, it_min1, it_min2, dist_min); in apply() 115 Strategy const& strategy) in apply() argument 117 typename strategy::distance::services::return_type in apply() 124 return apply(point, first, last, strategy, dist_min); in apply() 130 Strategy const& strategy, in apply() argument [all …]
|
/third_party/boost/boost/geometry/algorithms/detail/intersection/ |
D | interface.hpp | 52 Strategy const& strategy) in apply() 65 strategy); in apply() 93 Strategy const& strategy) in apply() 100 >::apply(g2, g1, robust_policy, out, strategy); in apply() 123 Strategy const& strategy) in apply() 134 geometry1, geometry2, strategy); in apply() 141 strategy); in apply() 162 typename strategy::relate::services::default_strategy in apply() 165 >::type strategy; in apply() local 169 geometry1, geometry2, strategy); in apply() [all …]
|