attcs / Octree

Octree/Quadtree/N-dimensional linear tree
MIT License
113 stars 13 forks source link

Picksearch sometimes misses things #6

Closed RoboticHuman closed 1 year ago

RoboticHuman commented 1 year ago

Hello, awesome library you got here :)

I was using it in a small experiment where I used the container version of it and built it with bounding boxes that form a 3D grid of a specific cell size, so all bounding boxes are the same length basically. I also changed the geometry type of all the structures needed to integer instead of double. Using the PickSearch function with a specific 3D point, it sometimes fails to find points that are for sure contained within one of those bounding boxes that the tree was built with, so I was wondering if this is a similar boundary check problem like in the range search problem that was mentioned in another issue?

RoboticHuman commented 1 year ago

apologies, it seems to have been caused by a logic problem on my end here, I think it's working properly, so I will close this issue for now, thanks again for this great library :)

attcs commented 1 year ago

Hi! It could be. I made the fixup. Thank you for the bugreport.