]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/geometry/include/boost/geometry/strategies/within.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / geometry / include / boost / geometry / strategies / within.hpp
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
2
3 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
4 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
5 // Copyright (c) 2009-2012 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_WITHIN_HPP
15 #define BOOST_GEOMETRY_STRATEGIES_WITHIN_HPP
16
17 #include <boost/mpl/assert.hpp>
18
19
20 namespace boost { namespace geometry
21 {
22
23 namespace strategy { namespace within
24 {
25
26
27 namespace services
28 {
29
30 /*!
31 \brief Traits class binding a within determination strategy to a coordinate system
32 \ingroup within
33 \tparam TagContained tag (possibly casted) of point-type
34 \tparam TagContained tag (possibly casted) of (possibly) containing type
35 \tparam CsTagContained tag of coordinate system of point-type
36 \tparam CsTagContaining tag of coordinate system of (possibly) containing type
37 \tparam Geometry geometry-type of input (often point, or box)
38 \tparam GeometryContaining geometry-type of input (possibly) containing type
39 */
40 template
41 <
42 typename TagContained,
43 typename TagContaining,
44 typename CastedTagContained,
45 typename CastedTagContaining,
46 typename CsTagContained,
47 typename CsTagContaining,
48 typename GeometryContained,
49 typename GeometryContaining
50 >
51 struct default_strategy
52 {
53 BOOST_MPL_ASSERT_MSG
54 (
55 false, NOT_IMPLEMENTED_FOR_THESE_TYPES
56 , (types<GeometryContained, GeometryContaining>)
57 );
58 };
59
60
61 } // namespace services
62
63
64 }} // namespace strategy::within
65
66
67 }} // namespace boost::geometry
68
69
70 #endif // BOOST_GEOMETRY_STRATEGIES_WITHIN_HPP
71