Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix problems in octree search functions when using dynamic depth #4657

Merged
merged 3 commits into from
Mar 29, 2021

Conversation

mvieth
Copy link
Member

@mvieth mvieth commented Mar 16, 2021

Please see commit messages.
Fixes #1232 Fixes #4591

@mvieth mvieth added changelog: fix Meta-information for changelog generation module: octree labels Mar 16, 2021
mvieth added 3 commits March 21, 2021 11:07
This fixes segmentation faults for octrees with dynamic depth when a node was cast to a branch node, but was actually a leaf node.
pointSquaredDist returns a float, so it makes no sense to cast it back-and-forth
@mvieth mvieth force-pushed the octree_dynamic_depth branch from ef54044 to 7abcd66 Compare March 21, 2021 10:10
@mvieth mvieth requested a review from larshg March 23, 2021 19:29
@mvieth mvieth requested a review from kunaltyagi March 25, 2021 13:47
@mvieth mvieth changed the title Octree dynamic depth Fix problems in octree search functions when using dynamic depth Mar 25, 2021
@mvieth mvieth merged commit f547dc8 into PointCloudLibrary:master Mar 29, 2021
@mvieth mvieth deleted the octree_dynamic_depth branch March 29, 2021 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: fix Meta-information for changelog generation module: octree
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Octree: Segfault when using DynamicDepth + boxSearch crash in nearestKSearch when using enableDynamicDepth
3 participants