services.hpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Boost.Geometry
  2. // Copyright (c) 2021, 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_DENSIFY_SERVICES_HPP
  7. #define BOOST_GEOMETRY_STRATEGIES_DENSIFY_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 densify
  13. {
  14. namespace services
  15. {
  16. template
  17. <
  18. typename Geometry,
  19. typename CSTag = geometry::cs_tag_t<Geometry>
  20. >
  21. struct default_strategy
  22. {
  23. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  24. "Not implemented for this Geometry's coordinate systems.",
  25. Geometry, CSTag);
  26. };
  27. template <typename Strategy>
  28. struct strategy_converter
  29. {
  30. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  31. "Not implemented for this Strategy.",
  32. Strategy);
  33. };
  34. } // namespace services
  35. }} // namespace strategies::densify
  36. }} // namespace boost::geometry
  37. #endif // BOOST_GEOMETRY_STRATEGIES_DENSIFY_SERVICES_HPP