Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:51:39

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