|
||||
File indexing completed on 2025-01-18 09:35:05
0001 // Boost.Geometry (aka GGL, Generic Geometry Library) 0002 0003 // Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands. 0004 // Copyright (c) 2008-2015 Bruno Lalande, Paris, France. 0005 // Copyright (c) 2009-2015 Mateusz Loskot, London, UK. 0006 0007 // This file was modified by Oracle on 2015-2021. 0008 // Modifications copyright (c) 2015-2021, Oracle and/or its affiliates. 0009 0010 // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle 0011 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle 0012 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle 0013 0014 // Distributed under the Boost Software License, Version 1.0. 0015 // (See accompanying file LICENSE_1_0.txt or copy at 0016 // http://www.boost.org/LICENSE_1_0.txt) 0017 0018 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_BOX_HPP 0019 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_BOX_HPP 0020 0021 0022 #include <boost/geometry/algorithms/dispatch/envelope.hpp> 0023 0024 #include <boost/geometry/core/tags.hpp> 0025 0026 0027 namespace boost { namespace geometry 0028 { 0029 0030 0031 #ifndef DOXYGEN_NO_DISPATCH 0032 namespace dispatch 0033 { 0034 0035 0036 template <typename Box> 0037 struct envelope<Box, box_tag> 0038 { 0039 template<typename BoxIn, typename BoxOut, typename Strategy> 0040 static inline void apply(BoxIn const& box_in, BoxOut& mbr, Strategy const& strategy) 0041 { 0042 using strategy_t = decltype(strategy.envelope(box_in, mbr)); 0043 strategy_t::apply(box_in, mbr); 0044 } 0045 }; 0046 0047 0048 } // namespace dispatch 0049 #endif // DOXYGEN_NO_DISPATCH 0050 0051 }} // namespace boost::geometry 0052 0053 #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_BOX_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |