/third_party/boost/boost/geometry/strategies/cartesian/ |
D | distance_pythagoras.hpp | 81 class pythagoras class 137 class pythagoras class 168 comparable::pythagoras<CalculationType>::apply(p1, p2) in apply() 180 struct tag<pythagoras<CalculationType> > 187 struct return_type<distance::pythagoras<CalculationType>, P1, P2> 188 : pythagoras<CalculationType>::template calculation_type<P1, P2> 193 struct comparable_type<pythagoras<CalculationType> > 195 typedef comparable::pythagoras<CalculationType> type; 200 struct get_comparable<pythagoras<CalculationType> > 202 typedef comparable::pythagoras<CalculationType> comparable_type; [all …]
|
D | index.hpp | 100 typedef geometry::strategy::distance::comparable::pythagoras 124 geometry::strategy::distance::pythagoras<CalculationType> 135 geometry::strategy::distance::pythagoras<CalculationType> 169 struct from_strategy<distance::comparable::pythagoras<CalculationType> > 173 static inline type get(distance::comparable::pythagoras<CalculationType> const&) in get()
|
D | line_interpolate.hpp | 43 typename DistanceStrategy = distance::pythagoras<CalculationType>
|
D | distance_segment_box.hpp | 32 typename Strategy = pythagoras<CalculationType>
|
D | distance_projected_point.hpp | 77 typename Strategy = pythagoras<CalculationType>
|
D | distance_projected_point_ax.hpp | 135 typename Strategy = pythagoras<CalculationType>
|
/third_party/boost/libs/geometry/test/strategies/ |
D | pythagoras.cpp | 55 typedef bg::strategy::distance::pythagoras<> pythagoras_type; in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS() 58 pythagoras_type pythagoras; in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS() local 59 return_type result = pythagoras.apply(p1, p2); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS() 72 typedef bg::strategy::distance::pythagoras<> pythagoras_type; in test_axis_3d() 75 pythagoras_type pythagoras; in test_axis_3d() local 77 return_type result = pythagoras.apply(p1, p2); in test_axis_3d() 81 result = pythagoras.apply(p1, p2); in test_axis_3d() 85 result = pythagoras.apply(p1, p2); in test_axis_3d() 98 typedef bg::strategy::distance::pythagoras<> strategy_type; in test_arbitrary_3d() 108 typedef bg::strategy::distance::comparable::pythagoras<> strategy_type; in test_arbitrary_3d() [all …]
|
D | projected_point_ax.cpp | 32 bg::strategy::distance::comparable::pythagoras<> in test_all_2d_ax()
|
D | Jamfile.v2 | 32 [ run pythagoras.cpp : : : : strategies_pythagoras ]
|
D | Jamfile | 32 [ run pythagoras.cpp : : : : strategies_pythagoras ]
|
D | pythagoras_point_box.cpp | 353 pythagoras_type pythagoras; in test_integer() local 354 distance_type distance = pythagoras.apply(p, b); in test_integer()
|
D | test_projected_point.hpp | 175 bg::strategy::distance::comparable::pythagoras<> in test_2d()
|
/third_party/boost/libs/geometry/test/cs_undefined/ |
D | measure.cpp | 30 bg::length(g.s, bg::strategy::distance::pythagoras<>()); in test_main() 33 bg::length(g.ls, bg::strategy::distance::pythagoras<>()); in test_main() 36 bg::length(g.mls, bg::strategy::distance::pythagoras<>()); in test_main() 40 bg::perimeter(g.r, bg::strategy::distance::pythagoras<>()); in test_main() 43 bg::perimeter(g.po, bg::strategy::distance::pythagoras<>()); in test_main() 46 bg::perimeter(g.mpo, bg::strategy::distance::pythagoras<>()); in test_main()
|
D | distance.cpp | 18 bg::distance(g.pt, g.pt, bg::strategy::distance::pythagoras<>()); in test_main() 21 bg::distance(g.pt, g.mpt, bg::strategy::distance::pythagoras<>()); in test_main() 24 bg::distance(g.mpt, g.mpt, bg::strategy::distance::pythagoras<>()); in test_main()
|
/third_party/boost/libs/geometry/doc/generated/ |
D | distance_pythagoras.qbk | 16 [section:strategy_distance_pythagoras strategy::distance::pythagoras] 18 …><indexterm><primary>distance</primary></indexterm><indexterm><primary>pythagoras</primary></index… 23 class strategy::distance::pythagoras 41 ] [applies the distance calculation using pythagoras ] [[* P1 const &]: ['p1]: first point
|
D | line_interpolate_cartesian.qbk | 33 [[typename DistanceStrategy] [distance::pythagoras<CalculationType>] [The underlying point-point di…
|
D | distance_pythagoras_point_box.qbk | 41 ] [applies the distance calculation using pythagoras ] [[* Point const &]: ['point]: point
|
D | distance_projected_point.qbk | 36 [[typename Strategy] [pythagoras<CalculationType>] [underlying point-point distance strategy ]]
|
/third_party/boost/libs/geometry/test/algorithms/distance/ |
D | distance.cpp | 182 return_type ds1 = bg::distance(p, g, bg::strategy::distance::pythagoras<>()); in test_distance_linear() 256 bg::strategy::distance::pythagoras<> pyth; in test_2d() 298 test_distance<P1, P2>(pythagoras<>(), "POINT(0 0)", "POINT(1 1)", sqrt(2.0)); in test_mixed() 300 test_distance<P1, mp1>(pythagoras<>(), "POINT(0 0)", "MULTIPOINT((1 1),(1 0),(0 2))", 1.0); in test_mixed() 301 test_distance<P1, mp2>(pythagoras<>(), "POINT(0 0)", "MULTIPOINT((1 1),(1 0),(0 2))", 1.0); in test_mixed() 302 test_distance<P2, mp1>(pythagoras<>(), "POINT(0 0)", "MULTIPOINT((1 1),(1 0),(0 2))", 1.0); in test_mixed() 303 test_distance<P2, mp2>(pythagoras<>(), "POINT(0 0)", "MULTIPOINT((1 1),(1 0),(0 2))", 1.0); in test_mixed() 306 test_distance<mp1, P1>(pythagoras<>(), "MULTIPOINT((1 1),(1 0),(0 2))", "POINT(0 0)", 1.0); in test_mixed() 307 test_distance<mp1, P2>(pythagoras<>(), "MULTIPOINT((1 1),(1 0),(0 2))", "POINT(0 0)", 1.0); in test_mixed() 308 test_distance<mp2, P1>(pythagoras<>(), "MULTIPOINT((1 1),(1 0),(0 2))", "POINT(0 0)", 1.0); in test_mixed() [all …]
|
D | distance_ca_pl_pl.cpp | 30 typedef bg::strategy::distance::pythagoras<> point_point_strategy;
|
D | distance_ca_pl_l.cpp | 32 typedef bg::strategy::distance::pythagoras<> point_point_strategy;
|
/third_party/boost/libs/geometry/example/ |
D | ml02_distance_strategy.cpp | 26 typedef strategy::distance::pythagoras<point_xy, point_xy, double> strategy1_type; in main() 31 typedef strategy::distance::comparable::pythagoras<point_xy, point_xy, double> strategy2_type; in main()
|
/third_party/boost/libs/geometry/doc/ |
D | design_rationale.qbk | 131 struct pythagoras 136 return d * d + pythagoras<P1, P2, D-1>::apply(a, b); 141 struct pythagoras<P1, P2, 0> 149 The distance function is calling that `pythagoras` structure, specifying the number of dimensions: 156 return sqrt(pythagoras<P1, P2, dimension<P1>::value>::apply(a, b)); 224 modify the `pythagoras` computation class. It should return the coordinate type of its input. 235 struct pythagoras 246 return d * d + pythagoras <P1, P2, D-1> ::apply(a, b); 324 // here we call pythagoras 479 typedef pythagoras<P1, P2, D> type; [all …]
|
/third_party/boost/libs/geometry/test/algorithms/similarity/ |
D | discrete_frechet_distance.cpp | 29 …d >("LINESTRING(3 0,2 1,3 2)","LINESTRING(0 0,3 4,4 3)",bg::strategy::distance::pythagoras<>(), 3); in test_all_cartesian()
|
/third_party/boost/libs/geometry/test/algorithms/ |
D | densify.cpp | 91 bg::strategy::distance::pythagoras<> dist_s;
|