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

2 vues (au cours des 30 derniers jours)
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 commentaire
Matt J
Matt J le 6 Jan 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.

Connectez-vous pour commenter.

Réponses (1)

Matt J
Matt J le 6 Jan 2022
Modifié(e) : Matt J le 6 Jan 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.,

Catégories

En savoir plus sur Computational Geometry dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by