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

c++ version of PyOctree #35

Open
DavideBassano opened this issue Dec 4, 2018 · 2 comments
Open

c++ version of PyOctree #35

DavideBassano opened this issue Dec 4, 2018 · 2 comments

Comments

@DavideBassano
Copy link

Dear Michael,

I'm currently using your Pyoctree package in my Python code.

Now I'd like to write a C++ version of my code (because of parallelization with Cuda).
Are cOctree.cpp and cOctree.h enough to calculate the intersection between a stl and a ray in a C++ code? Or I need some other files?

Thanks,
Cheers,

Davide

@mhogg
Copy link
Owner

mhogg commented Dec 4, 2018

Hi Davide,

Yes, all the calculations (tree construction, intersections etc.) are done in cOctree.h and cOctree.cpp.

Cheers,
Michael

@DavideBassano
Copy link
Author

HI Michael,

thanks for your reply.

Do you have any example about using your cOctree classes to calculate intersection between stl and a ray? (like this https://github.com/mhogg/pyoctree/blob/master/pyoctree/Examples/pyoctree-intersection.ipynb).

Thanks,
cheers,

Davide

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