123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_EXPAND_SEGMENT_HPP
- #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_EXPAND_SEGMENT_HPP
- #include <boost/core/ignore_unused.hpp>
- #include <boost/geometry/algorithms/dispatch/expand.hpp>
- #include <boost/geometry/core/tags.hpp>
- namespace boost { namespace geometry
- {
- #ifndef DOXYGEN_NO_DISPATCH
- namespace dispatch
- {
- template
- <
- typename Box, typename Segment
- >
- struct expand
- <
- Box, Segment,
- box_tag, segment_tag
- >
- {
- template <typename Strategy>
- static inline void apply(Box& box,
- Segment const& segment,
- Strategy const& strategy)
- {
- strategy.expand(box, segment).apply(box, segment);
- }
- };
- }
- #endif
- }}
- #endif
|