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 obtain the index of the nearestPoints obtained? Thanks! #11

Open
zhangfq-chemistry opened this issue Aug 22, 2024 · 3 comments
Open

Comments

@zhangfq-chemistry
Copy link

No description provided.

@zhujun3753
Copy link
Owner

zhujun3753 commented Aug 23, 2024

void radiusNeighbors(const PointT &  query, float radius, std::vector<size_t> &resultIndices, std::vector<float> &distances)
int32_t knnNeighbors(const PointT &  query, int k, std::vector<int> &resultIndices, std::vector<float> &distances)

@zhangfq-chemistry
Copy link
Author

Thanks! It is very fast!

@zhangfq-chemistry
Copy link
Author

zhangfq-chemistry commented Aug 23, 2024

Would you like to provide one native rust version? It is very very useful!

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