Whether a given point is inside or outside a non-convex 3D tessellated (triangular mesh/ STL file) object?
Mostrar comentarios más antiguos
Hi,
I have a 3D, non-convex (very complex), triangular mesh ( = STL file i.e. triangular representation of surface of a 3-D object).
Now, a cube is intersecting with the STL object such that few triangles of the object are partially or fully inside the cube.
I want to know which vertices of the cube are outside the object.
thank you
Respuestas (3)
Walter Roberson
el 23 de Jun. de 2011
0 votos
(I thought I knew a way for a moment, but realized that particular way won't work. It might not be easy.)
4 comentarios
nand mourya
el 24 de Jun. de 2011
Walter Roberson
el 24 de Jun. de 2011
The cube part is convex, though.
Still, I didn't "dream up" a way overnight, sorry.
Sean de Wolski
el 24 de Jun. de 2011
Walter, you clearly got too much sleep!
nand mourya
el 24 de Jun. de 2011
Sean de Wolski
el 24 de Jun. de 2011
0 votos
You could "voxelize" it using this tool:
1 comentario
nand mourya
el 24 de Jun. de 2011
Johannes Korsawe
el 19 de Sept. de 2013
0 votos
If the tesselated surface is watertight and consists of triangles only, you can use intriangulation from the FEX.
Regards, Johannes
Categorías
Más información sobre STL (STereoLithography) en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!