cartesian.hpp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // Boost.Geometry
  2. // Copyright (c) 2020-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_CARTESIAN_HPP
  7. #define BOOST_GEOMETRY_STRATEGIES_CARTESIAN_HPP
  8. #include <boost/geometry/strategies/area/cartesian.hpp>
  9. #include <boost/geometry/strategies/azimuth/cartesian.hpp>
  10. #include <boost/geometry/strategies/buffer/cartesian.hpp>
  11. #include <boost/geometry/strategies/convex_hull/cartesian.hpp>
  12. #include <boost/geometry/strategies/distance/cartesian.hpp>
  13. #include <boost/geometry/strategies/envelope/cartesian.hpp>
  14. #include <boost/geometry/strategies/expand/cartesian.hpp>
  15. #include <boost/geometry/strategies/io/cartesian.hpp>
  16. #include <boost/geometry/strategies/index/cartesian.hpp>
  17. #include <boost/geometry/strategies/is_convex/cartesian.hpp>
  18. #include <boost/geometry/strategies/relate/cartesian.hpp>
  19. #include <boost/geometry/strategies/simplify/cartesian.hpp>
  20. namespace boost { namespace geometry
  21. {
  22. namespace strategies
  23. {
  24. template <typename CalculationType = void>
  25. class cartesian
  26. // derived from the umbrella strategy defining the most strategies
  27. : public strategies::index::cartesian<CalculationType>
  28. {
  29. public:
  30. static auto azimuth()
  31. {
  32. return strategy::azimuth::cartesian<CalculationType>();
  33. }
  34. static auto point_order()
  35. {
  36. return strategy::point_order::cartesian<CalculationType>();
  37. }
  38. };
  39. } // namespace strategies
  40. }} // namespace boost::geometry
  41. #endif // BOOST_GEOMETRY_STRATEGIES_CARTESIAN_HPP