Chris@102
|
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
|
Chris@102
|
2
|
Chris@102
|
3 // Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands.
|
Chris@102
|
4 // Copyright (c) 2008-2014 Bruno Lalande, Paris, France.
|
Chris@102
|
5 // Copyright (c) 2009-2014 Mateusz Loskot, London, UK.
|
Chris@102
|
6 // Copyright (c) 2013-2014 Adam Wulkiewicz, Lodz, Poland.
|
Chris@102
|
7
|
Chris@102
|
8 // This file was modified by Oracle on 2013-2014.
|
Chris@102
|
9 // Modifications copyright (c) 2013-2014, Oracle and/or its affiliates.
|
Chris@102
|
10
|
Chris@102
|
11 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
|
Chris@102
|
12 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
|
Chris@102
|
13
|
Chris@102
|
14 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
|
Chris@102
|
15 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
|
Chris@102
|
16
|
Chris@102
|
17 // Use, modification and distribution is subject to the Boost Software License,
|
Chris@102
|
18 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@102
|
19 // http://www.boost.org/LICENSE_1_0.txt)
|
Chris@102
|
20
|
Chris@102
|
21 #ifndef BOOST_GEOMETRY_ALGORITHMS_DISPATCH_DISJOINT_HPP
|
Chris@102
|
22 #define BOOST_GEOMETRY_ALGORITHMS_DISPATCH_DISJOINT_HPP
|
Chris@102
|
23
|
Chris@102
|
24 #include <cstddef>
|
Chris@102
|
25
|
Chris@102
|
26 #include <boost/geometry/core/tag.hpp>
|
Chris@102
|
27 #include <boost/geometry/core/tag_cast.hpp>
|
Chris@102
|
28 #include <boost/geometry/core/tags.hpp>
|
Chris@102
|
29 #include <boost/geometry/core/reverse_dispatch.hpp>
|
Chris@102
|
30
|
Chris@102
|
31 #include <boost/geometry/algorithms/not_implemented.hpp>
|
Chris@102
|
32
|
Chris@102
|
33
|
Chris@102
|
34 namespace boost { namespace geometry
|
Chris@102
|
35 {
|
Chris@102
|
36
|
Chris@102
|
37
|
Chris@102
|
38 #ifndef DOXYGEN_NO_DISPATCH
|
Chris@102
|
39 namespace dispatch
|
Chris@102
|
40 {
|
Chris@102
|
41
|
Chris@102
|
42
|
Chris@102
|
43 template
|
Chris@102
|
44 <
|
Chris@102
|
45 typename Geometry1, typename Geometry2,
|
Chris@102
|
46 std::size_t DimensionCount = dimension<Geometry1>::type::value,
|
Chris@102
|
47 typename Tag1 = typename tag_cast
|
Chris@102
|
48 <
|
Chris@102
|
49 typename tag<Geometry1>::type,
|
Chris@102
|
50 segment_tag, box_tag, linear_tag, areal_tag
|
Chris@102
|
51 >::type,
|
Chris@102
|
52 typename Tag2 = typename tag_cast
|
Chris@102
|
53 <
|
Chris@102
|
54 typename tag<Geometry2>::type,
|
Chris@102
|
55 segment_tag, box_tag, linear_tag, areal_tag
|
Chris@102
|
56 >::type,
|
Chris@102
|
57 bool Reverse = reverse_dispatch<Geometry1, Geometry2>::type::value
|
Chris@102
|
58 >
|
Chris@102
|
59 struct disjoint
|
Chris@102
|
60 : not_implemented<Geometry1, Geometry2>
|
Chris@102
|
61 {};
|
Chris@102
|
62
|
Chris@102
|
63 } // namespace dispatch
|
Chris@102
|
64 #endif // DOXYGEN_NO_DISPATCH
|
Chris@102
|
65
|
Chris@102
|
66
|
Chris@102
|
67 }} // namespace boost::geometry
|
Chris@102
|
68
|
Chris@102
|
69
|
Chris@102
|
70 #endif // BOOST_GEOMETRY_ALGORITHMS_DISPATCH_DISJOINT_HPP
|