closest_points.hpp 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. // Boost.Geometry
  2. // Copyright (c) 2021, Oracle and/or its affiliates.
  3. // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
  4. // Licensed under the Boost Software License version 1.0.
  5. // http://www.boost.org/users/license.html
  6. #ifndef BOOST_GEOMETRY_ALGORITHMS_DISPATCH_CLOSEST_POINTS_HPP
  7. #define BOOST_GEOMETRY_ALGORITHMS_DISPATCH_CLOSEST_POINTS_HPP
  8. #include <boost/geometry/algorithms/not_implemented.hpp>
  9. #include <boost/geometry/core/reverse_dispatch.hpp>
  10. #include <boost/geometry/core/tag.hpp>
  11. #include <boost/geometry/core/tag_cast.hpp>
  12. #include <boost/geometry/core/tags.hpp>
  13. #include <boost/geometry/strategies/detail.hpp>
  14. #include <boost/geometry/strategies/closest_points/services.hpp>
  15. namespace boost { namespace geometry
  16. {
  17. #ifndef DOXYGEN_NO_DISPATCH
  18. namespace dispatch
  19. {
  20. template
  21. <
  22. typename Geometry1, typename Geometry2,
  23. typename Tag1 = typename tag_cast
  24. <
  25. typename tag<Geometry1>::type,
  26. segment_tag,
  27. box_tag,
  28. linear_tag,
  29. areal_tag
  30. >::type,
  31. typename Tag2 = typename tag_cast
  32. <
  33. typename tag<Geometry2>::type,
  34. segment_tag,
  35. box_tag,
  36. linear_tag,
  37. areal_tag
  38. >::type,
  39. bool Reverse = reverse_dispatch<Geometry1, Geometry2>::type::value
  40. >
  41. struct closest_points : not_implemented<Tag1, Tag2>
  42. {};
  43. } // namespace dispatch
  44. #endif // DOXYGEN_NO_DISPATCH
  45. }} // namespace boost::geometry
  46. #endif // BOOST_GEOMETRY_ALGORITHMS_DISPATCH_CLOSEST_POINTS_HPP