Merged updates for (small) changes for views/ranges/iterators (r71711 through r71812)

[SVN r71815]
This commit is contained in:
Barend Gehrels
2011-05-08 12:18:28 +00:00
parent f287a5e22a
commit 996ab253cb
54 changed files with 841 additions and 1037 deletions

View File

@@ -18,6 +18,7 @@
#include <boost/geometry/algorithms/area.hpp>
#include <boost/geometry/algorithms/centroid.hpp>
#include <boost/geometry/geometries/adapted/boost_tuple.hpp>
#include <boost/geometry/geometries/register/ring.hpp>
#include <boost/geometry/strategies/strategies.hpp>
#include <boost/geometry/util/write_dsv.hpp>
@@ -31,9 +32,7 @@ struct triangle : public boost::array<P, 3>
// Register triangle<P> as a ring
namespace boost { namespace geometry { namespace traits {
template <typename P> struct tag<triangle<P> > { typedef ring_tag type; };
}}}
BOOST_GEOMETRY_REGISTER_RING_TEMPLATED(triangle)
namespace boost { namespace geometry { namespace dispatch {