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

Combining multiple shape bases into a convex shape #608

Open
biiigwang opened this issue Sep 25, 2023 · 1 comment
Open

Combining multiple shape bases into a convex shape #608

biiigwang opened this issue Sep 25, 2023 · 1 comment

Comments

@biiigwang
Copy link

I'm using fcl for collision detection in my project. I need to create a convex shape out of multiple basic shape bases like cylinders. However, I couldn't find an API in fcl to combine multiple shape bases (e.g. several cylinders) into a single convex shape.

I looked at the documentation and examples but couldn't find if this is supported. I'd appreciate any pointers to relevant parts of the API if I missed this capability. If it's not possible currently, any thoughts on the best way to implement it?

Let me know if you need any more details! Thank you for building this great collision library.

@zzy5510
Copy link

zzy5510 commented Oct 10, 2023

I don't think fcl can do it. Maybe you can try to extract points of your basic shape, and use qhull to generate a convex hull. https://github.com/qhull/qhull

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