Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:36:50

0001 // Boost.Geometry
0002 
0003 // Copyright (c) 2020-2021, Oracle and/or its affiliates.
0004 
0005 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
0006 
0007 // Licensed under the Boost Software License version 1.0.
0008 // http://www.boost.org/users/license.html
0009 
0010 #ifndef BOOST_GEOMETRY_STRATEGIES_CARTESIAN_HPP
0011 #define BOOST_GEOMETRY_STRATEGIES_CARTESIAN_HPP
0012 
0013 
0014 #include <boost/geometry/strategies/area/cartesian.hpp>
0015 #include <boost/geometry/strategies/azimuth/cartesian.hpp>
0016 #include <boost/geometry/strategies/buffer/cartesian.hpp>
0017 #include <boost/geometry/strategies/convex_hull/cartesian.hpp>
0018 #include <boost/geometry/strategies/distance/cartesian.hpp>
0019 #include <boost/geometry/strategies/envelope/cartesian.hpp>
0020 #include <boost/geometry/strategies/expand/cartesian.hpp>
0021 #include <boost/geometry/strategies/io/cartesian.hpp>
0022 #include <boost/geometry/strategies/index/cartesian.hpp>
0023 #include <boost/geometry/strategies/is_convex/cartesian.hpp>
0024 #include <boost/geometry/strategies/relate/cartesian.hpp>
0025 #include <boost/geometry/strategies/simplify/cartesian.hpp>
0026 
0027 
0028 namespace boost { namespace geometry
0029 {
0030 
0031 
0032 namespace strategies
0033 {
0034 
0035 
0036 template <typename CalculationType = void>
0037 class cartesian
0038     // derived from the umbrella strategy defining the most strategies
0039     : public strategies::index::cartesian<CalculationType>
0040 {
0041 public:
0042 
0043     static auto azimuth()
0044     {
0045         return strategy::azimuth::cartesian<CalculationType>();
0046     }
0047 
0048     static auto point_order()
0049     {
0050         return strategy::point_order::cartesian<CalculationType>();
0051     }
0052 };
0053 
0054 
0055 } // namespace strategies
0056 
0057 
0058 }} // namespace boost::geometry
0059 
0060 
0061 #endif // BOOST_GEOMETRY_STRATEGIES_CARTESIAN_HPP