services.hpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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_ENVELOPE_SERVICES_HPP
  7. #define BOOST_GEOMETRY_STRATEGIES_ENVELOPE_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 envelope { namespace services
  13. {
  14. template
  15. <
  16. typename Geometry,
  17. typename Box,
  18. typename CSTag = typename geometry::cs_tag<Geometry>::type
  19. >
  20. struct default_strategy
  21. {
  22. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  23. "Not implemented for this coordinate system.",
  24. Geometry, Box, CSTag);
  25. };
  26. template <typename Strategy>
  27. struct strategy_converter
  28. {
  29. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  30. "Not implemented for this Strategy.",
  31. Strategy);
  32. };
  33. }}} // namespace strategies::envelope::services
  34. }} // namespace boost::geometry
  35. #endif // BOOST_GEOMETRY_STRATEGIES_ENVELOPE_SERVICES_HPP