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:
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <boost/geometry/algorithms/area.hpp>
|
||||
#include <boost/geometry/algorithms/centroid.hpp>
|
||||
#include <boost/geometry/geometries/register/ring.hpp>
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
#include <boost/geometry/util/write_dsv.hpp>
|
||||
|
||||
@@ -30,9 +31,7 @@ struct triangle : public boost::array<boost::geometry::model::d2::point_xy<doubl
|
||||
|
||||
|
||||
// Register triangle as a ring
|
||||
namespace boost { namespace geometry { namespace traits {
|
||||
template <> struct tag<triangle> { typedef ring_tag type; };
|
||||
}}}
|
||||
BOOST_GEOMETRY_REGISTER_RING(triangle)
|
||||
|
||||
|
||||
// Specializations of algorithms, where useful. If not specialized the default ones
|
||||
|
||||
Reference in New Issue
Block a user