]>
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 Vissarion Fysikopoulos, 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_ALGORITHMS_DISPATCH_CLOSEST_POINTS_HPP | |
11 | #define BOOST_GEOMETRY_ALGORITHMS_DISPATCH_CLOSEST_POINTS_HPP | |
12 | ||
13 | ||
14 | #include <boost/geometry/algorithms/not_implemented.hpp> | |
15 | ||
16 | #include <boost/geometry/core/reverse_dispatch.hpp> | |
17 | #include <boost/geometry/core/tag.hpp> | |
18 | #include <boost/geometry/core/tag_cast.hpp> | |
19 | #include <boost/geometry/core/tags.hpp> | |
20 | ||
21 | #include <boost/geometry/strategies/detail.hpp> | |
22 | #include <boost/geometry/strategies/closest_points/services.hpp> | |
23 | ||
24 | ||
25 | namespace boost { namespace geometry | |
26 | { | |
27 | ||
28 | ||
29 | #ifndef DOXYGEN_NO_DISPATCH | |
30 | namespace dispatch | |
31 | { | |
32 | ||
33 | ||
34 | template | |
35 | < | |
36 | typename Geometry1, typename Geometry2, | |
37 | typename Tag1 = typename tag_cast | |
38 | < | |
39 | typename tag<Geometry1>::type, | |
40 | segment_tag, | |
41 | box_tag, | |
42 | linear_tag, | |
43 | areal_tag | |
44 | >::type, | |
45 | typename Tag2 = typename tag_cast | |
46 | < | |
47 | typename tag<Geometry2>::type, | |
48 | segment_tag, | |
49 | box_tag, | |
50 | linear_tag, | |
51 | areal_tag | |
52 | >::type, | |
53 | bool Reverse = reverse_dispatch<Geometry1, Geometry2>::type::value | |
54 | > | |
55 | struct closest_points : not_implemented<Tag1, Tag2> | |
56 | {}; | |
57 | ||
58 | ||
59 | ||
60 | } // namespace dispatch | |
61 | #endif // DOXYGEN_NO_DISPATCH | |
62 | ||
63 | ||
64 | }} // namespace boost::geometry | |
65 | ||
66 | ||
67 | #endif // BOOST_GEOMETRY_ALGORITHMS_DISPATCH_CLOSEST_POINTS_HPP |