1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_EXPAND_POINT_HPP
- #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_EXPAND_POINT_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 BoxOut, typename Point
- >
- struct expand
- <
- BoxOut, Point,
- box_tag, point_tag
- >
- {
- template <typename Strategy>
- static inline void apply(BoxOut& box,
- Point const& point,
- Strategy const& strategy)
- {
-
- using strategy_t = decltype(strategy.expand(box, point));
- strategy_t::apply(box, point);
- }
- };
- }
- #endif
- }}
- #endif
|