mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-09 23:22:10 +00:00
Merged updates for (small) changes for views/ranges/iterators (r71711 through r71812)
[SVN r71815]
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user