summaryrefslogtreecommitdiff
path: root/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/algorithms/detail/buffer/buffered_ring.hpp')
-rw-r--r--boost/geometry/algorithms/detail/buffer/buffered_ring.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp b/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp
index db6136e1ae..4fd24b1451 100644
--- a/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp
+++ b/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp
@@ -16,6 +16,8 @@
#include <boost/geometry/core/assert.hpp>
#include <boost/geometry/core/coordinate_type.hpp>
+#include <boost/geometry/core/closure.hpp>
+#include <boost/geometry/core/point_order.hpp>
#include <boost/geometry/core/point_type.hpp>
#include <boost/geometry/strategies/buffer.hpp>
@@ -147,6 +149,20 @@ struct ring_type
typedef Ring type;
};
+
+// There is a specific tag, so this specialization cannot be placed in traits
+template <typename Ring>
+struct point_order<detail::buffer::buffered_ring_collection_tag,
+ geometry::detail::buffer::buffered_ring_collection
+ <
+ geometry::detail::buffer::buffered_ring<Ring>
+ > >
+{
+ static const order_selector value
+ = core_dispatch::point_order<ring_tag, Ring>::value;
+};
+
+
}