azimuth.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // Boost.Geometry (aka GGL, Generic Geometry Library)
  2. // Copyright (c) 2016-2018 Oracle and/or its affiliates.
  3. // Contributed and/or modified by Vissarion Fisikopoulos, on behalf of Oracle
  4. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
  5. // Use, modification and distribution is subject to the Boost Software License,
  6. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. #ifndef BOOST_GEOMETRY_STRATEGIES_CARTESIAN_AZIMUTH_HPP
  9. #define BOOST_GEOMETRY_STRATEGIES_CARTESIAN_AZIMUTH_HPP
  10. #include <boost/geometry/core/tags.hpp>
  11. #include <boost/geometry/strategies/azimuth.hpp>
  12. namespace boost { namespace geometry
  13. {
  14. namespace strategy { namespace azimuth
  15. {
  16. template
  17. <
  18. typename CalculationType = void
  19. >
  20. class cartesian
  21. {};
  22. #ifndef DOXYGEN_NO_STRATEGY_SPECIALIZATIONS
  23. namespace services
  24. {
  25. template <typename CalculationType>
  26. struct default_strategy<cartesian_tag, CalculationType>
  27. {
  28. typedef strategy::azimuth::cartesian<CalculationType> type;
  29. };
  30. }
  31. #endif // DOXYGEN_NO_STRATEGY_SPECIALIZATIONS
  32. }} // namespace strategy::azimuth
  33. }} // namespace boost::geometry
  34. #endif // BOOST_GEOMETRY_STRATEGIES_CARTESIAN_AZIMUTH_HPP