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

How to keep track of the order of d_points after calling buildTree? #20

Open
jizhu1023 opened this issue Feb 19, 2024 · 1 comment
Open

Comments

@jizhu1023
Copy link

Thanks for your great work! It's been incredibly useful for my projects.

I'm currently integrating it into a new application and need to keep track of the original order of d_points after calling buildTree. Could you advise on how to achieve this or if there's a way to map the original indices to their new positions after buildTree runs?

Appreciate any help you can provide!

@yjf0602
Copy link

yjf0602 commented Jun 5, 2024

Using Non-Default Data Types should help.

struct PointPlusIndex{
  float3 position;
  int    index;
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants