How to record the neighbors of each vertex of a 3D mesh model?

조회 수: 9 (최근 30일)
Mohsin Shah
Mohsin Shah 2017년 7월 24일
댓글: Mohsin Shah 2017년 7월 26일
Given the vertex list which contain the indices of vertices, x-axis coordinate, y-axis coordinate, and z-axis coordinate, and the face list defines the polygon faces which are simply lists of indices into the vertex list, and each face begins with a count of the number of elements in each list. Two vertices are termed neighbors if one edge connects them so that the vertices in the same face are co-neighbors, thus we can record the neighbors for each vertex by traversing the face list in order to find the faces which contain the given vertex. Table below explain the vertex and face lists. How to record the neighbors of each vertex using the find or any other command?

답변 (1개)

KSSV
KSSV 2017년 7월 24일
Read about knnsearch

카테고리

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