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.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp b/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp
index 5964f3ba44..f5c5cc6a2e 100644
--- a/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp
+++ b/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp
@@ -32,6 +32,9 @@ struct enrichment_info
: travels_to_vertex_index(-1)
, travels_to_ip_index(-1)
, next_ip_index(-1)
+ , startable(true)
+ , count_left(0)
+ , count_right(0)
{}
// vertex to which is free travel after this IP,
@@ -44,6 +47,12 @@ struct enrichment_info
// index of next IP on this segment, -1 if there is no one
signed_size_type next_ip_index;
+
+ bool startable; // Can be used to start in traverse
+
+ // Counts if polygons left/right of this operation
+ std::size_t count_left;
+ std::size_t count_right;
};