1 // Boost.Geometry (aka GGL, Generic Geometry Library) 2 3 // Copyright (c) 2015-2018, Oracle and/or its affiliates. 4 5 // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle 6 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle 7 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle 8 9 // Distributed under the Boost Software License, Version 1.0. 10 // (See accompanying file LICENSE_1_0.txt or copy at 11 // http://www.boost.org/LICENSE_1_0.txt) 12 13 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_MULTIPOINT_HPP 14 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_MULTIPOINT_HPP 15 16 #include <boost/geometry/core/tags.hpp> 17 18 #include <boost/geometry/algorithms/dispatch/envelope.hpp> 19 20 // For backward compatibility 21 #include <boost/geometry/strategies/cartesian/envelope_multipoint.hpp> 22 #include <boost/geometry/strategies/spherical/envelope_multipoint.hpp> 23 24 namespace boost { namespace geometry 25 { 26 27 28 #ifndef DOXYGEN_NO_DISPATCH 29 namespace dispatch 30 { 31 32 33 template <typename MultiPoint> 34 struct envelope<MultiPoint, multi_point_tag> 35 { 36 template <typename Box, typename Strategy> applyboost::geometry::dispatch::envelope37 static inline void apply(MultiPoint const& multipoint, Box& mbr, Strategy const& ) 38 { 39 Strategy::apply(multipoint, mbr); 40 } 41 }; 42 43 44 } // namespace dispatch 45 #endif // DOXYGEN_NO_DISPATCH 46 47 }} // namespace boost::geometry 48 49 #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_MULTIPOINT_HPP 50