-
-
Notifications
You must be signed in to change notification settings - Fork 30
Update: Add a Kdtree collection type, collect from Kdtree at a box #9
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @902D9 for the contribution!
This seems a great addition to this plugin.
"Box" collection method itself is good to me.
But the user interface needs to be improved.
I think using the radius
parameter for the box method is not intuitive.
Instead, adding a new Blueprint function Collect From Kdtree (Cube)
and changing the existing Blueprint function name to Collect From Kdtree (Sphere)
would be better.
Also, Collect From Kdtree (Cube)
should accept a edge length instead of radius.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@902D9
Thank you for creating a separated function.
Please improve the code structure based on my suggestion.
I have improved the code as you suggested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@902D9
Thank you. All code looks good to me.
Please delete Kdtree/Config/DefaultKdtree.ini
. I think this file is unintentionally included.
This file contains the redirection information for the above function renames. If the blueprint in the project uses the old named function, it can help it identify the renamed C++ function. |
This PR is not released yet. |
Deleted |
Merged. |
The circle may cause the points at the boundary to not be collected, so a method to collect the points inside the box is added.