How to split a patch element (struct) into two half

2 次查看(过去 30 天)
I have a 3D mesh represented in a patch object inside a struct of faces and vertices. i need to split this faces and vertices in two halfs. first from 0-11 and the second from 11-22. as shown in the figure attached. also the .mat file attached.
  2 个评论
sana3 sal
sana3 sal 2018-10-2
If you opened the .mat file you would find a struct that is built as this https://en.wikipedia.org/wiki/Polygon_mesh#/media/File:Mesh_fv.jpg
I dont know how to access the elements inside the struct to extract only vertices that their z axis is from 0 to 11, and then extract the related faces.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by