Does anyone know of a generalized intersection test?
Afficher commentaires plus anciens
I'm looking for an algorithm to test if an N-dimensional object and an M-dimensional object both defined within L-dimensional space intersect.
For instance, it could test if a line segment and a triangle intersect in 3D space, and it could also test if two 4D objects intersect.
3 commentaires
Thomas Hamilton
le 27 Fév 2013
Thomas Hamilton
le 27 Fév 2013
Sean de Wolski
le 27 Fév 2013
A meta FYI: a question asked on Saturday when many of us are not working will fall off the front page or two and will never be seen. I recommend posting a comment or an edit sometime on a Monday to ensure maximum visibility.
Réponses (1)
Sean de Wolski
le 27 Fév 2013
0 votes
There are lots of 2d/3d versions of this on the FEX:
However, there doesn't seem to be anything for this in n-d and I don't know if some these algorithms extend to n-dimensions or not. I do seem to remember John having a utility that did something like this, though it might just be the distance to curve one.
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!