diff options
Diffstat (limited to 'boost/geometry/algorithms/detail/overlay/turn_info.hpp')
-rw-r--r-- | boost/geometry/algorithms/detail/overlay/turn_info.hpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/boost/geometry/algorithms/detail/overlay/turn_info.hpp b/boost/geometry/algorithms/detail/overlay/turn_info.hpp index 1ac77d5796..699997fc38 100644 --- a/boost/geometry/algorithms/detail/overlay/turn_info.hpp +++ b/boost/geometry/algorithms/detail/overlay/turn_info.hpp @@ -58,6 +58,8 @@ enum method_type template <typename Point, typename SegmentRatio> struct turn_operation { + typedef SegmentRatio segment_ratio_type; + operation_type operation; segment_identifier seg_id; SegmentRatio fraction; @@ -91,23 +93,25 @@ template struct turn_info { typedef Point point_type; + typedef SegmentRatio segment_ratio_type; typedef Operation turn_operation_type; typedef Container container_type; Point point; method_type method; + int cluster_id; bool discarded; - bool selectable_start; // Can be used as starting-turn in traverse bool colocated; - + bool switch_source; // For u/u turns which can either switch or not Container operations; inline turn_info() : method(method_none) + , cluster_id(-1) , discarded(false) - , selectable_start(true) , colocated(false) + , switch_source(false) {} inline bool both(operation_type type) const |