How to determine the 3D points if the ray intersects the the voxel that is perpendicular to Y axis?

2 visualizaciones (últimos 30 días)
Here the line AB is intersecting the voxel perpendicularly on the Y-axis. How can I determine all the three points (3D poins) x.y.z in this manner? Thanks in advance.
  1 comentario
Matt J
Matt J el 6 de En. de 2022
determine all the three points
Why 3 points? I see only 2 points (one entry point and one exit point), as you would expect for any convex shape.

Iniciar sesión para comentar.

Respuestas (1)

Matt J
Matt J el 6 de En. de 2022
Editada: Matt J el 6 de En. de 2022
You can find ray/box intersections using intersectionHull in this File Exchange package
However, if you are doing this for the purpose of tomographic forward projection, your only hope for fast speed is to use an optimized projector library, e.g.,

Categorías

Más información sobre Computational Geometry en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by