Skip to content

Commit

Permalink
We're using recursion, probably worth noting
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Nov 1, 2024
1 parent 6d86282 commit ef610eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geo/src/algorithm/bool_ops/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ pub trait UnaryUnion {
// This function carries out a full post-order traversal of the tree, building up MultiPolygons from inside to outside.
// Though the operation is carried out via fold() over the tree iterator, there are two actual nested operations:
// "fold" operations on leaf nodes build up output MultiPolygons by adding Polygons to them via union and
// "reduce" operations on parent nodes combine these output MultiPolygons from leaf operations via union
// "reduce" operations on parent nodes combine these output MultiPolygons from leaf operations by recursion
fn bottom_up_fold_reduce<T, S, I, F, R>(
tree: &RTree<T>,
mut init: I,
Expand Down

0 comments on commit ef610eb

Please sign in to comment.