File indexing completed on 2025-09-18 08:44:46
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef BOOST_GEOMETRY_STRATEGIES_INDEX_CARTESIAN_HPP
0013 #define BOOST_GEOMETRY_STRATEGIES_INDEX_CARTESIAN_HPP
0014
0015
0016 #include <boost/geometry/strategies/centroid/cartesian.hpp>
0017 #include <boost/geometry/strategies/distance/cartesian.hpp>
0018 #include <boost/geometry/strategies/index/services.hpp>
0019
0020
0021 namespace boost { namespace geometry { namespace strategies { namespace index
0022 {
0023
0024 template <typename CalculationType = void>
0025 class cartesian
0026 : public distance::cartesian<CalculationType>
0027 , public strategies::centroid::detail::cartesian<CalculationType>
0028 {};
0029
0030
0031 namespace services
0032 {
0033
0034 template <typename Geometry>
0035 struct default_strategy<Geometry, cartesian_tag>
0036 {
0037 using type = strategies::index::cartesian<>;
0038 };
0039
0040
0041 }
0042
0043
0044 }}}}
0045
0046 #endif