Convert a xyz surface into a 3D array?
4 views (last 30 days)
Show older comments
Nathan Orloff
on 20 Feb 2014
Edited: Sean de Wolski
on 20 Feb 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 Comments
Accepted Answer
Sean de Wolski
on 20 Feb 2014
Edited: Sean de Wolski
on 20 Feb 2014
Edit per clarification
Use this utility from the File Exchange:
2 Comments
Sean de Wolski
on 20 Feb 2014
Edited: Sean de Wolski
on 20 Feb 2014
Ahh, gotcha. I was thinking the other direction (i.e. given a logical volume, get the struct).
See edits
More Answers (0)
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!