Convert a xyz surface into a 3D array?
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Sean de Wolski
2014-2-20
编辑:Sean de Wolski
2014-2-20
Edit per clarification
Use this utility from the File Exchange:
2 个评论
Sean de Wolski
2014-2-20
编辑:Sean de Wolski
2014-2-20
Ahh, gotcha. I was thinking the other direction (i.e. given a logical volume, get the struct).
See edits
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!