1 // Boost.Geometry (aka GGL, Generic Geometry Library)
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 // Copyright (c) 2014-2015 Samuel Debionne, Grenoble, France.
8 // This file was modified by Oracle on 2015-2018.
9 // Modifications copyright (c) 2015-2018, Oracle and/or its affiliates.
11 // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
12 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
13 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
15 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
16 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
18 // Distributed under the Boost Software License, Version 1.0.
19 // (See accompanying file LICENSE_1_0.txt or copy at
20 // http://www.boost.org/LICENSE_1_0.txt)
22 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_EXPAND_POINT_HPP
23 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_EXPAND_POINT_HPP
26 #include <boost/geometry/algorithms/dispatch/expand.hpp>
28 #include <boost/geometry/core/tags.hpp>
30 // For backward compatibility
31 #include <boost/geometry/strategies/cartesian/expand_point.hpp>
32 #include <boost/geometry/strategies/spherical/expand_point.hpp>
35 namespace boost { namespace geometry
38 #ifndef DOXYGEN_NO_DISPATCH
43 // Box + point -> new box containing also point
46 typename BoxOut, typename Point
54 template <typename Strategy>
55 static inline void apply(BoxOut& box,
59 Strategy::apply(box, point);
65 } // namespace dispatch
66 #endif // DOXYGEN_NO_DISPATCH
68 }} // namespace boost::geometry
70 #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_EXPAND_POINT_HPP