-
Notifications
You must be signed in to change notification settings - Fork 2
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
Polyhedra integration #4
Comments
Integrating with Polyhedra seems like a good idea because it does not have alpha shapes to deal with shapes that might be concave. As a disclaimer, I must admit that I am far from an expert in geometry. Nonetheless, I was wondering if there is a more general approach to identifying an intersection between shapes that can be some combination of convex and concave? If I understand correctly, the proposal above would only apply to the special case in which the shapes are convex. The restriction that the shapes must be convex is one of the biggest limitations in Polyhedra. |
I think you may be right, I'm far from an expert in this area myself. I'll have to familiarise myself with Polyhedra.jl and maybe open an issue asking about non-convex shapes. I did find some articles on arbitrary polytope intersections so it might be doable but beyond me without more careful reading |
I am willing to help in cases where I can, but I suspect someone at Polyhedra would be better suited to assist in terms of the math and the software design. |
Great thanks, I'll take a look in a second.
Just had a look at Polyhedra.jl, looks like workflow would be Vertices::Array{Float64,3} -> "convex hull points" -> Polyhedra::vrep for both shapes then it should just be a call to intersect(P1,P2) like this example from their docs. Have not used Polyhedra myself so could be wrong.
Originally posted by @harveydevereux in #2 (comment)
The text was updated successfully, but these errors were encountered: