3 // Copyright (c) 2019-2020, Oracle and/or its affiliates.
5 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
7 // Licensed under the Boost Software License version 1.0.
8 // http://www.boost.org/users/license.html
10 #ifndef BOOST_GEOMETRY_STRATEGIES_CARTESIAN_POINT_ORDER_HPP
11 #define BOOST_GEOMETRY_STRATEGIES_CARTESIAN_POINT_ORDER_HPP
14 #include <boost/geometry/core/tags.hpp>
16 #include <boost/geometry/strategy/cartesian/area.hpp>
17 #include <boost/geometry/strategies/point_order.hpp>
20 namespace boost { namespace geometry
23 namespace strategy { namespace point_order
26 template <typename CalculationType = void>
28 : strategy::area::cartesian<CalculationType>
30 typedef area_tag version_tag;
33 static strategy::area::cartesian<CalculationType> get_area_strategy()
35 return strategy::area::cartesian<CalculationType>();
43 struct default_strategy<cartesian_tag>
45 typedef cartesian<> type;
48 } // namespace services
50 }} // namespace strategy::point_order
52 }} // namespace boost::geometry
54 #endif // BOOST_GEOMETRY_STRATEGIES_CARTESIAN_POINT_ORDER_HPP