services.hpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 = typename geometry::cs_tag<Point1>::type,
  19. typename CSTag2 = typename geometry::cs_tag<Point2>::type
  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