mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-01 20:42:10 +00:00
[colocations] apply counts only to the "to" cases
(I used this already longer time but it was not yet committed)
This commit is contained in:
@@ -553,14 +553,14 @@ inline void assign_startable_in_clusters(Clusters& clusters, Turns& turns,
|
||||
turn_type& turn = turns[ranked.turn_index];
|
||||
turn_operation_type& op = turn.operations[ranked.op_index];
|
||||
|
||||
op.enriched.count_left = ranked.left_count;
|
||||
op.enriched.count_right = ranked.right_count;
|
||||
|
||||
if (ranked.index != sort_by_side::index_to)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
op.enriched.count_left = ranked.left_count;
|
||||
op.enriched.count_right = ranked.right_count;
|
||||
|
||||
if ((for_operation == operation_union
|
||||
&& ranked.left_count != 0)
|
||||
|| (for_operation == operation_intersection
|
||||
|
||||
Reference in New Issue
Block a user