Convert a xyz surface into a 3D array?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nathan Orloff
el 20 de Feb. de 2014
Editada: Sean de Wolski
el 20 de Feb. de 2014
I have a the following input:
surface = struct('vertices', [....],'faces',[....];
Which I can draw as:
patch(surface)
But what I need is a 3D logical array, where the contained volumes are true.
Is there a quick way to do this?
0 comentarios
Respuesta aceptada
Sean de Wolski
el 20 de Feb. de 2014
Editada: Sean de Wolski
el 20 de Feb. de 2014
Edit per clarification
Use this utility from the File Exchange:
2 comentarios
Sean de Wolski
el 20 de Feb. de 2014
Editada: Sean de Wolski
el 20 de Feb. de 2014
Ahh, gotcha. I was thinking the other direction (i.e. given a logical volume, get the struct).
See edits
Más respuestas (0)
Ver también
Categorías
Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!