3D Lingo Dictionary > L-N > neighbor |
![]() ![]() ![]() |
neighbor
Syntax
member(whichCastmember
).model(whichModel
).meshdeform.mesh[index
].face[index
].neighbor[index
]
Description
3D command; meshDeform command that returns a list of lists describing the neighbors of a particular face of a mesh opposite the face corner specified by the neighbor index (1,2,3)
. If the list is empty, the face has no neighbors in that direction. If the list contains more than one list, the mesh is non-manifold. Usually the list contains a single list of four integer values: [meshIndex, faceIndex, vertexIndex, flipped]
.
The value meshIndex
is the index of the mesh containing the neighbor face. The value faceIndex
is the index of the neighbor face in that mesh. The value vertexIndex
is the index of the nonshared vertices of the neighbor face. The value flipped
describes whether the face orientation is the same as (1)
or opposite (2)
that of the original face.
See also
![]() ![]() ![]() |