]> git.sesse.net Git - casparcg/blob - dependencies/boost/boost/geometry/strategies/covered_by.hpp
Manually merged pull request #222
[casparcg] / dependencies / boost / boost / geometry / strategies / covered_by.hpp
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
2
3 // Copyright (c) 2007-2011 Barend Gehrels, Amsterdam, the Netherlands.
4 // Copyright (c) 2008-2011 Bruno Lalande, Paris, France.
5 // Copyright (c) 2009-2011 Mateusz Loskot, London, UK.
6
7 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
8 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
9
10 // Use, modification and distribution is subject to the Boost Software License,
11 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
12 // http://www.boost.org/LICENSE_1_0.txt)
13
14 #ifndef BOOST_GEOMETRY_STRATEGIES_COVERED_BY_HPP
15 #define BOOST_GEOMETRY_STRATEGIES_COVERED_BY_HPP
16
17 #include <boost/mpl/assert.hpp>
18
19
20 namespace boost { namespace geometry
21 {
22
23
24 namespace strategy { namespace covered_by
25 {
26
27
28 namespace services
29 {
30
31 /*!
32 \brief Traits class binding a covered_by determination strategy to a coordinate system
33 \ingroup covered_by
34 \tparam TagContained tag (possibly casted) of point-type
35 \tparam TagContained tag (possibly casted) of (possibly) containing type
36 \tparam CsTagContained tag of coordinate system of point-type
37 \tparam CsTagContaining tag of coordinate system of (possibly) containing type
38 \tparam Geometry geometry-type of input (often point, or box)
39 \tparam GeometryContaining geometry-type of input (possibly) containing type
40 */
41 template
42 <
43     typename TagContained,
44     typename TagContaining,
45     typename CastedTagContained,
46     typename CastedTagContaining,
47     typename CsTagContained,
48     typename CsTagContaining,
49     typename GeometryContained,
50     typename GeometryContaining
51 >
52 struct default_strategy
53 {
54     BOOST_MPL_ASSERT_MSG
55         (
56             false, NOT_IMPLEMENTED_FOR_THIS_TYPES
57             , (types<GeometryContained, GeometryContaining>)
58         );
59 };
60
61
62 } // namespace services
63
64
65 }} // namespace strategy::covered_by
66
67
68 }} // namespace boost::geometry
69
70
71 #endif // BOOST_GEOMETRY_STRATEGIES_COVERED_BY_HPP
72