]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/geometry/algorithms/detail/envelope/box.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / geometry / algorithms / detail / envelope / box.hpp
CommitLineData
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-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
b32b8144 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_BOX_HPP
19#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_BOX_HPP
20
7c673cae 21
7c673cae
FG
22#include <boost/geometry/core/tags.hpp>
23
92f5a8d4
TL
24// For backward compatibility
25#include <boost/geometry/strategies/cartesian/envelope_box.hpp>
26#include <boost/geometry/strategies/spherical/envelope_box.hpp>
7c673cae
FG
27
28
29namespace boost { namespace geometry
30{
31
7c673cae 32
92f5a8d4
TL
33#ifndef DOXYGEN_NO_DISPATCH
34namespace dispatch
7c673cae 35{
7c673cae
FG
36
37
92f5a8d4
TL
38template <typename Box>
39struct envelope<Box, box_tag>
7c673cae 40{
b32b8144 41 template<typename BoxIn, typename BoxOut, typename Strategy>
92f5a8d4 42 static inline void apply(BoxIn const& box_in, BoxOut& mbr, Strategy const& )
7c673cae 43 {
92f5a8d4 44 Strategy::apply(box_in, mbr);
7c673cae
FG
45 }
46};
47
48
7c673cae
FG
49} // namespace dispatch
50#endif // DOXYGEN_NO_DISPATCH
51
52}} // namespace boost::geometry
53
54#endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_BOX_HPP