|
||||
File indexing completed on 2025-01-18 09:35:06
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 // Copyright (c) 2014-2015 Samuel Debionne, Grenoble, France. 0007 0008 // This file was modified by Oracle on 2015-2020. 0009 // Modifications copyright (c) 2015-2020, Oracle and/or its affiliates. 0010 0011 // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle 0012 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle 0013 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle 0014 0015 // Distributed under the Boost Software License, Version 1.0. 0016 // (See accompanying file LICENSE_1_0.txt or copy at 0017 // http://www.boost.org/LICENSE_1_0.txt) 0018 0019 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_EXPAND_SEGMENT_HPP 0020 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_EXPAND_SEGMENT_HPP 0021 0022 0023 #include <boost/core/ignore_unused.hpp> 0024 0025 #include <boost/geometry/algorithms/dispatch/expand.hpp> 0026 0027 #include <boost/geometry/core/tags.hpp> 0028 0029 0030 namespace boost { namespace geometry 0031 { 0032 0033 #ifndef DOXYGEN_NO_DISPATCH 0034 namespace dispatch 0035 { 0036 0037 template 0038 < 0039 typename Box, typename Segment 0040 > 0041 struct expand 0042 < 0043 Box, Segment, 0044 box_tag, segment_tag 0045 > 0046 { 0047 template <typename Strategy> 0048 static inline void apply(Box& box, 0049 Segment const& segment, 0050 Strategy const& strategy) 0051 { 0052 strategy.expand(box, segment).apply(box, segment); 0053 } 0054 }; 0055 0056 0057 } // namespace dispatch 0058 #endif // DOXYGEN_NO_DISPATCH 0059 0060 }} // namespace boost::geometry 0061 0062 0063 #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_EXPAND_SEGMENT_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |