]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/geometry/strategies/cartesian/point_order.hpp
995147daaae6defc03a3872a011602bdcf0325e3
[ceph.git] / ceph / src / boost / boost / geometry / strategies / cartesian / point_order.hpp
1 // Boost.Geometry
2
3 // Copyright (c) 2019-2020, 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/strategy/cartesian/area.hpp>
17 #include <boost/geometry/strategies/point_order.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 // TEMP
33 static strategy::area::cartesian<CalculationType> get_area_strategy()
34 {
35 return strategy::area::cartesian<CalculationType>();
36 }
37 };
38
39 namespace services
40 {
41
42 template <>
43 struct default_strategy<cartesian_tag>
44 {
45 typedef cartesian<> type;
46 };
47
48 } // namespace services
49
50 }} // namespace strategy::point_order
51
52 }} // namespace boost::geometry
53
54 #endif // BOOST_GEOMETRY_STRATEGIES_CARTESIAN_POINT_ORDER_HPP