Does anyone know of a generalized intersection test?
Mostrar comentarios más antiguos
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 comentarios
Thomas Hamilton
el 27 de Feb. de 2013
Thomas Hamilton
el 27 de Feb. de 2013
Sean de Wolski
el 27 de Feb. de 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.
Respuestas (1)
Sean de Wolski
el 27 de Feb. de 2013
0 votos
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.
Categorías
Más información sobre Resizing and Reshaping Matrices en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!