File indexing completed on 2025-01-18 09:36:43
0001
0002
0003
0004
0005
0006
0007
0008
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
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 }
0049
0050 }}
0051
0052 }}
0053
0054 #endif