summaryrefslogtreecommitdiff
path: root/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/algorithms/detail/overlay/enrichment_info.hpp')
-rw-r--r--boost/geometry/algorithms/detail/overlay/enrichment_info.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp b/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp
index f5c5cc6a2e..cc55414870 100644
--- a/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp
+++ b/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp
@@ -9,6 +9,8 @@
#ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_ENRICHMENT_INFO_HPP
#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OVERLAY_ENRICHMENT_INFO_HPP
+#include <boost/geometry/algorithms/detail/signed_size_type.hpp>
+
namespace boost { namespace geometry
{
@@ -25,7 +27,7 @@ namespace detail { namespace overlay
of the overlay process). The information is gathered during the
enrichment phase
*/
-template<typename P>
+template<typename Point>
struct enrichment_info
{
inline enrichment_info()
@@ -35,6 +37,7 @@ struct enrichment_info
, startable(true)
, count_left(0)
, count_right(0)
+ , zone(-1)
{}
// vertex to which is free travel after this IP,
@@ -53,6 +56,7 @@ struct enrichment_info
// Counts if polygons left/right of this operation
std::size_t count_left;
std::size_t count_right;
+ signed_size_type zone; // open zone, in cluster
};