services.hpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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_STRATEGIES_CLOSEST_POINTS_SERVICES_HPP
  7. #define BOOST_GEOMETRY_STRATEGIES_CLOSEST_POINTS_SERVICES_HPP
  8. #include <boost/geometry/core/cs.hpp>
  9. #include <boost/geometry/core/static_assert.hpp>
  10. #include <boost/geometry/strategies/detail.hpp>
  11. namespace boost { namespace geometry
  12. {
  13. namespace strategies { namespace closest_points
  14. {
  15. namespace services
  16. {
  17. template
  18. <
  19. typename Geometry1,
  20. typename Geometry2,
  21. typename CSTag1 = typename geometry::cs_tag<Geometry1>::type,
  22. typename CSTag2 = typename geometry::cs_tag<Geometry2>::type
  23. >
  24. struct default_strategy
  25. {
  26. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  27. "Not implemented for these Geometries' coordinate systems.",
  28. Geometry1, Geometry2, CSTag1, CSTag2);
  29. };
  30. } // namespace services
  31. }} // namespace strategies::closest_points
  32. }} // namespace boost::geometry
  33. #endif // BOOST_GEOMETRY_STRATEGIES_CLOSEST_POINTS_SERVICES_HPP