[go: up one dir, main page]

Skip to content

Duplicate projection files and re-sampling steps

While running topologicalFiltering>topologicalFilteringRecursiveStepParallel (with parallelize==2), the projections that are discovered more than once are possibly re-sampled and saved more than once (with saveViablePoints == true or recursive == true). This is because the filtering and re-sampling has been moved at the end of the previous recursion step in topologicalFilteringIteration (whereas before it before the next recursion step). All the points still get merged, but it's an unnecessary waste.

Move the .prepareViablePoints calls from topologicalFilteringIteration to topologicalFiltering>while. This solves the issue, plus all of the calls (i.e. with the init call) will be in a single function, making the code cleaner.