File indexing completed on 2025-01-18 09:35:04
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_DISTANCE_BOX_TO_BOX_HPP
0012 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_DISTANCE_BOX_TO_BOX_HPP
0013
0014 #include <boost/core/ignore_unused.hpp>
0015
0016 #include <boost/geometry/core/point_type.hpp>
0017 #include <boost/geometry/core/tags.hpp>
0018
0019 #include <boost/geometry/strategies/distance.hpp>
0020 #include <boost/geometry/strategies/tags.hpp>
0021
0022 #include <boost/geometry/algorithms/dispatch/distance.hpp>
0023
0024
0025 namespace boost { namespace geometry
0026 {
0027
0028 #ifndef DOXYGEN_NO_DISPATCH
0029 namespace dispatch
0030 {
0031
0032
0033 template <typename Box1, typename Box2, typename Strategies>
0034 struct distance
0035 <
0036 Box1, Box2, Strategies, box_tag, box_tag,
0037 strategy_tag_distance_box_box, false
0038 >
0039 {
0040 static inline auto apply(Box1 const& box1, Box2 const& box2, Strategies const& strategies)
0041 {
0042 boost::ignore_unused(strategies);
0043 return strategies.distance(box1, box2).apply(box1, box2);
0044 }
0045 };
0046
0047
0048 }
0049 #endif
0050
0051
0052 }}
0053
0054
0055 #endif