-
Notifications
You must be signed in to change notification settings - Fork 87
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
Box
-Triangle
intersection in 3D
#809
Comments
@MachSilva if I remember correctly, you contributed the GJK algorithm in the 3D case, right? Appreciate if you can take a look to see if this corner case can be fixed. |
Yes. I'll take a look into it. |
@MachSilva appreciate if you can take a look at it. I will be working on other fronts tomorrow before the next minor release. |
Sorry for the delay. I've taken a look for some time and I didn't found the cause of the loop yet. I've been looking it in my spare time only. So, I can't tell how much time I'll take to fix it, but I'll still look for a fix. |
Thank you for taking a look into it @MachSilva ❤️ |
intersects
runs infinitely in an edge caseBox
-Triangle
intersection in 3D
I discovered the following:
Running this code causes an infinite loop here:
Meshes.jl/src/predicates/intersects.jl
Lines 96 to 104 in 4f1a5d8
In this particular case changing the argument order solves the issue (running
intersects(t,b)
), but in general it does not solve the issue.I tried normalizing my input, but it doesn't help.
I am not sure why is this the case, on other triangle-box pairs it works fine. Maybe because they have one vertice that is common?
The text was updated successfully, but these errors were encountered: