Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Convex Hull from Half Spaces (Planes) #921

Closed
a-day-old-bagel opened this issue Sep 11, 2024 · 0 comments
Closed

Convex Hull from Half Spaces (Planes) #921

a-day-old-bagel opened this issue Sep 11, 2024 · 0 comments

Comments

@a-day-old-bagel
Copy link

I have a use case where my inputs are sets of half spaces, given by planes, and my outputs are convex polyhedra (one per set of half spaces).

To achieve this currently, I start with some bounding volume, and use trimByPlane to slice away the inverse of each half space in serial.

This is... not as fast as I expected, and seems to be the bottleneck in my use case. Is there a better way to produce such a convex polyhedron, given only oriented planes (half spaces) as input?

These are not large sets of half spaces, by the way. Only a dozen or so faces on the average polyhedron I'm producing, with an even smaller median face count.

If there were such a thing as a "batch" trim by plane, for example, I think it would solve my issue. I don't know if the trim operation is easily parallelized, though.

I've looked through the other issues and discussions, and some, such as issue 884, are adjacent to my question. So far, though, I'm not sure if I've seen a very clear answer. Perhaps I haven't read carefully enough, but I decided to just make an issue.

Repository owner locked and limited conversation to collaborators Sep 11, 2024
@elalish elalish converted this issue into discussion #922 Sep 11, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant