]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Boost.Geometry (aka GGL, Generic Geometry Library) |
2 | ||
3 | // Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands. | |
4 | // Copyright (c) 2008-2015 Bruno Lalande, Paris, France. | |
5 | // Copyright (c) 2009-2015 Mateusz Loskot, London, UK. | |
6 | ||
92f5a8d4 TL |
7 | // This file was modified by Oracle on 2015, 2016, 2018. |
8 | // Modifications copyright (c) 2015-2018, Oracle and/or its affiliates. | |
7c673cae | 9 | |
b32b8144 | 10 | // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle |
7c673cae | 11 | // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle |
92f5a8d4 | 12 | // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle |
7c673cae FG |
13 | |
14 | // Distributed under the Boost Software License, Version 1.0. | |
15 | // (See accompanying file LICENSE_1_0.txt or copy at | |
16 | // http://www.boost.org/LICENSE_1_0.txt) | |
17 | ||
18 | #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_LINEAR_HPP | |
19 | #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_LINEAR_HPP | |
20 | ||
7c673cae | 21 | |
92f5a8d4 | 22 | #include <boost/geometry/core/tags.hpp> |
7c673cae FG |
23 | |
24 | #include <boost/geometry/algorithms/detail/envelope/range.hpp> | |
25 | ||
26 | #include <boost/geometry/algorithms/dispatch/envelope.hpp> | |
27 | ||
92f5a8d4 TL |
28 | // For backward compatibility |
29 | #include <boost/geometry/strategies/cartesian/envelope.hpp> | |
30 | #include <boost/geometry/strategies/spherical/envelope.hpp> | |
31 | #include <boost/geometry/strategies/geographic/envelope.hpp> | |
7c673cae FG |
32 | |
33 | namespace boost { namespace geometry | |
34 | { | |
35 | ||
7c673cae FG |
36 | #ifndef DOXYGEN_NO_DISPATCH |
37 | namespace dispatch | |
38 | { | |
39 | ||
40 | ||
7c673cae | 41 | template <typename Linestring> |
92f5a8d4 TL |
42 | struct envelope<Linestring, linestring_tag> |
43 | : detail::envelope::envelope_range | |
b32b8144 FG |
44 | {}; |
45 | ||
7c673cae | 46 | |
7c673cae | 47 | template <typename MultiLinestring> |
92f5a8d4 TL |
48 | struct envelope<MultiLinestring, multi_linestring_tag> |
49 | : detail::envelope::envelope_multi_range | |
7c673cae | 50 | < |
92f5a8d4 | 51 | detail::envelope::envelope_range |
7c673cae FG |
52 | > |
53 | {}; | |
54 | ||
55 | ||
56 | } // namespace dispatch | |
57 | #endif // DOXYGEN_NO_DISPATCH | |
58 | ||
59 | ||
60 | }} // namespace boost::geometry | |
61 | ||
62 | #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_LINEAR_HPP |