Display polygon mesh (not triangular mesh)

조회 수: 17 (최근 30일)
Thien Tran
Thien Tran 2013년 5월 29일
답변: Gautam 2025년 2월 10일
Hello everyone,
I have a question about displaying a polygon mesh (not triangular mesh). I have a list of vertices and its polygon faces. Anyone can share code or give me idea how to display it?
Thank you.
Thien

답변 (1개)

Gautam
Gautam 2025년 2월 10일
Hello Thien,
To display a polygon mesh in MATLAB when you have a list of vertices and polygonal faces, you can use the "patch" function. This function is versatile and can handle faces with more than three vertices, allowing you to visualize polygonal meshes directly.
You can refer to this document for more information:

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by