Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-18 08:44:46

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_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 } // namespace services
0042 
0043 
0044 }}}} // namespace boost::geometry::strategy::index
0045 
0046 #endif // BOOST_GEOMETRY_STRATEGIES_INDEX_CARTESIAN_HPP