Back to home page

EIC code displayed by LXR

 
 

    


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

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_INDEX_CARTESIAN_HPP
0011 #define BOOST_GEOMETRY_STRATEGIES_INDEX_CARTESIAN_HPP
0012 
0013 
0014 #include <boost/geometry/strategies/distance/cartesian.hpp>
0015 #include <boost/geometry/strategies/index/services.hpp>
0016 
0017 
0018 
0019 namespace boost { namespace geometry { namespace strategies { namespace index
0020 {
0021 
0022 template <typename CalculationType = void>
0023 class cartesian
0024     : public distance::cartesian<CalculationType>
0025 {};
0026 
0027 
0028 namespace services
0029 {
0030 
0031 template <typename Geometry>
0032 struct default_strategy<Geometry, cartesian_tag>
0033 {
0034     using type = strategies::index::cartesian<>;
0035 };
0036 
0037 
0038 } // namespace services
0039 
0040 
0041 }}}} // namespace boost::geometry::strategy::index
0042 
0043 #endif // BOOST_GEOMETRY_STRATEGIES_INDEX_CARTESIAN_HPP