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