Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Boost.Geometry
0002 
0003 // Copyright (c) 2019-2020, 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_POINT_ORDER_HPP
0011 #define BOOST_GEOMETRY_STRATEGIES_CARTESIAN_POINT_ORDER_HPP
0012 
0013 
0014 #include <boost/geometry/core/tags.hpp>
0015 
0016 #include <boost/geometry/strategy/cartesian/area.hpp>
0017 #include <boost/geometry/strategies/point_order.hpp>
0018 
0019 
0020 namespace boost { namespace geometry
0021 {
0022 
0023 namespace strategy { namespace point_order
0024 {
0025 
0026 template <typename CalculationType = void>
0027 struct cartesian
0028     : strategy::area::cartesian<CalculationType>
0029 {
0030     typedef area_tag version_tag;
0031 
0032     // TEMP
0033     static strategy::area::cartesian<CalculationType> get_area_strategy()
0034     {
0035         return strategy::area::cartesian<CalculationType>();
0036     }
0037 };
0038 
0039 namespace services
0040 {
0041 
0042 template <>
0043 struct default_strategy<cartesian_tag>
0044 {
0045     typedef cartesian<> type;
0046 };
0047 
0048 } // namespace services
0049 
0050 }} // namespace strategy::point_order
0051 
0052 }} // namespace boost::geometry
0053 
0054 #endif // BOOST_GEOMETRY_STRATEGIES_CARTESIAN_POINT_ORDER_HPP