Warning, file /include/boost/geometry/algorithms/detail/envelope/point.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_POINT_HPP
0019 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_ENVELOPE_POINT_HPP
0020
0021 #include <boost/geometry/core/tags.hpp>
0022
0023 #include <boost/geometry/algorithms/dispatch/envelope.hpp>
0024
0025 namespace boost { namespace geometry
0026 {
0027
0028 #ifndef DOXYGEN_NO_DETAIL
0029 namespace detail { namespace envelope
0030 {
0031
0032
0033 struct envelope_point
0034 {
0035 template <typename Point, typename Box, typename Strategy>
0036 static inline void apply(Point const& point, Box& mbr, Strategy const& strategy)
0037 {
0038
0039 using strategy_t = decltype(strategy.envelope(point, mbr));
0040 strategy_t::apply(point, mbr);
0041 }
0042 };
0043
0044
0045 }}
0046 #endif
0047
0048 #ifndef DOXYGEN_NO_DISPATCH
0049 namespace dispatch
0050 {
0051
0052
0053 template <typename Point>
0054 struct envelope<Point, point_tag>
0055 : detail::envelope::envelope_point
0056 {};
0057
0058
0059 }
0060 #endif
0061
0062 }}
0063
0064 #endif