X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=boost%2Fgeometry%2Fmulti%2Falgorithms%2Fdetail%2Foverlay%2Fselect_rings.hpp;h=c780c4cd9a514f9382c73ff9cd448f1120c7d8b1;hb=08c1e93fa36a49f49325a07fe91ff92c964c2b6c;hp=4636187880f1d1be5156b6b8d1e4f63ace723240;hpb=bb4dd8289b351fae6b55e303f189127a394a1edd;p=platform%2Fupstream%2Fboost.git diff --git a/boost/geometry/multi/algorithms/detail/overlay/select_rings.hpp b/boost/geometry/multi/algorithms/detail/overlay/select_rings.hpp index 4636187..c780c4c 100644 --- a/boost/geometry/multi/algorithms/detail/overlay/select_rings.hpp +++ b/boost/geometry/multi/algorithms/detail/overlay/select_rings.hpp @@ -10,53 +10,7 @@ #define BOOST_GEOMETRY_MULTI_ALGORITHMS_DETAIL_OVERLAY_SELECT_RINGS_HPP -#include - #include -namespace boost { namespace geometry -{ - - -#ifndef DOXYGEN_NO_DETAIL -namespace detail { namespace overlay -{ - -namespace dispatch -{ - - template - struct select_rings - { - template - static inline void apply(Multi const& multi, Geometry const& geometry, - ring_identifier id, Map& map, bool midpoint) - { - typedef typename boost::range_iterator - < - Multi const - >::type iterator_type; - - typedef select_rings::type> per_polygon; - - id.multi_index = 0; - for (iterator_type it = boost::begin(multi); it != boost::end(multi); ++it) - { - id.ring_index = -1; - per_polygon::apply(*it, geometry, id, map, midpoint); - id.multi_index++; - } - } - }; -} - - -}} // namespace detail::overlay -#endif // DOXYGEN_NO_DETAIL - - -}} // namespace boost::geometry - - #endif // BOOST_GEOMETRY_MULTI_ALGORITHMS_DETAIL_OVERLAY_SELECT_RINGS_HPP