services.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Boost.Geometry
  2. // Copyright (c) 2020, Oracle and/or its affiliates.
  3. // Contributed and/or modified by Adam Wulkiewicz, 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_RELATE_SERVICES_HPP
  7. #define BOOST_GEOMETRY_STRATEGIES_RELATE_SERVICES_HPP
  8. #include <boost/geometry/core/cs.hpp>
  9. #include <boost/geometry/core/static_assert.hpp>
  10. namespace boost { namespace geometry
  11. {
  12. namespace strategies { namespace relate {
  13. namespace services
  14. {
  15. template
  16. <
  17. typename Geometry1,
  18. typename Geometry2,
  19. typename CSTag1 = typename geometry::cs_tag<Geometry1>::type,
  20. typename CSTag2 = typename geometry::cs_tag<Geometry2>::type
  21. >
  22. struct default_strategy
  23. {
  24. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  25. "Not implemented for this Geometry's coordinate system.",
  26. Geometry1, Geometry2, CSTag1, CSTag2);
  27. };
  28. template <typename Strategy>
  29. struct strategy_converter
  30. {
  31. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  32. "Not implemented for this Strategy.",
  33. Strategy);
  34. };
  35. } // namespace services
  36. }} // namespace strategies::relate
  37. }} // namespace boost::geometry
  38. #endif // BOOST_GEOMETRY_STRATEGIES_RELATE_SERVICES_HPP