]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | // Boost.Geometry |
2 | ||
3 | // Copyright (c) 2021, 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_CENTROID_SERVICES_HPP | |
11 | #define BOOST_GEOMETRY_STRATEGIES_CENTROID_SERVICES_HPP | |
12 | ||
13 | ||
14 | #include <boost/geometry/core/cs.hpp> | |
15 | #include <boost/geometry/core/static_assert.hpp> | |
16 | ||
17 | ||
18 | namespace boost { namespace geometry | |
19 | { | |
20 | ||
21 | namespace strategies { namespace centroid | |
22 | { | |
23 | ||
24 | namespace services | |
25 | { | |
26 | ||
27 | template | |
28 | < | |
29 | typename Geometry, | |
30 | typename CSTag = typename geometry::cs_tag<Geometry>::type | |
31 | > | |
32 | struct default_strategy | |
33 | { | |
34 | BOOST_GEOMETRY_STATIC_ASSERT_FALSE( | |
35 | "Not implemented for this Geometry's coordinate systems.", | |
36 | Geometry, CSTag); | |
37 | }; | |
38 | ||
39 | template <typename Strategy> | |
40 | struct strategy_converter | |
41 | { | |
42 | BOOST_GEOMETRY_STATIC_ASSERT_FALSE( | |
43 | "Not implemented for this Strategy.", | |
44 | Strategy); | |
45 | }; | |
46 | ||
47 | ||
48 | } // namespace services | |
49 | ||
50 | }} // namespace strategies::centroid | |
51 | ||
52 | }} // namespace boost::geometry | |
53 | ||
54 | #endif // BOOST_GEOMETRY_STRATEGIES_CENTROID_SERVICES_HPP |