Convert a xyz surface into a 3D array?
조회 수: 1 (최근 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!