services.hpp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // Boost.Geometry
  2. // Copyright (c) 2025, Oracle and/or its affiliates.
  3. // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
  4. // Use, modification and distribution is subject to the Boost Software License,
  5. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #ifndef BOOST_GEOMETRY_STRATEGIES_RELATE3_SERVICES_HPP
  8. #define BOOST_GEOMETRY_STRATEGIES_RELATE3_SERVICES_HPP
  9. #include <boost/geometry/core/cs.hpp>
  10. #include <boost/geometry/core/static_assert.hpp>
  11. namespace boost { namespace geometry
  12. {
  13. namespace strategies { namespace relate3 {
  14. namespace services
  15. {
  16. template
  17. <
  18. typename Geometry1,
  19. typename Geometry2,
  20. typename CSTag1 = geometry::cs_tag_t<Geometry1>,
  21. typename CSTag2 = geometry::cs_tag_t<Geometry2>
  22. >
  23. struct default_strategy
  24. {
  25. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  26. "Not implemented for this Geometry's coordinate system.",
  27. Geometry1, Geometry2, CSTag1, CSTag2);
  28. };
  29. template <typename Strategy>
  30. struct strategy_converter
  31. {
  32. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  33. "Not implemented for this Strategy.",
  34. Strategy);
  35. };
  36. } // namespace services
  37. }} // namespace strategies::relate3
  38. }} // namespace boost::geometry
  39. #endif // BOOST_GEOMETRY_STRATEGIES_RELATE3_SERVICES_HPP