services.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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_AZIMUTH_SERVICES_HPP
  7. #define BOOST_GEOMETRY_STRATEGIES_AZIMUTH_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 azimuth {
  13. namespace services
  14. {
  15. template
  16. <
  17. typename Point1, typename Point2,
  18. typename CSTag1 = geometry::cs_tag_t<Point1>,
  19. typename CSTag2 = geometry::cs_tag_t<Point2>
  20. >
  21. struct default_strategy
  22. {
  23. BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
  24. "Not implemented for these Points' coordinate systems.",
  25. Point1, Point2, CSTag1, CSTag2);
  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::azimuth
  36. }} // namespace boost::geometry
  37. #endif // BOOST_GEOMETRY_STRATEGIES_AZIMUTH_SERVICES_HPP