Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / geometry / strategies / cartesian / point_order.hpp
1 // Boost.Geometry
2
3 // Copyright (c) 2019, Oracle and/or its affiliates.
4
5 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
6
7 // Licensed under the Boost Software License version 1.0.
8 // http://www.boost.org/users/license.html
9
10 #ifndef BOOST_GEOMETRY_STRATEGIES_CARTESIAN_POINT_ORDER_HPP
11 #define BOOST_GEOMETRY_STRATEGIES_CARTESIAN_POINT_ORDER_HPP
12
13
14 #include <boost/geometry/core/tags.hpp>
15
16 #include <boost/geometry/strategies/point_order.hpp>
17 #include <boost/geometry/strategies/cartesian/area.hpp>
18
19
20 namespace boost { namespace geometry
21 {
22
23 namespace strategy { namespace point_order
24 {
25
26 template <typename CalculationType = void>
27 struct cartesian
28     : strategy::area::cartesian<CalculationType>
29 {
30     typedef area_tag version_tag;
31 };
32
33 namespace services
34 {
35
36 template <>
37 struct default_strategy<cartesian_tag>
38 {
39     typedef cartesian<> type;
40 };
41
42 } // namespace services
43
44 }} // namespace strategy::point_order
45
46 }} // namespace boost::geometry
47
48 #endif // BOOST_GEOMETRY_STRATEGIES_CARTESIAN_POINT_ORDER_HPP