Utility.GetSkinFaces Method

Gets a list of faces without duplicates from a mesh of triangles or quads.
Public Shared Function GetSkinFaces( _ 
ByVal faces As Integer()(), _ 
ByVal numVerts As Integer, _ 
ByRef facesPerVertex As LinkedList(Of SharedFace)() _ 
) As Integer()()
This language is not supported or no code example is available.
public static int[][] GetSkinFaces( 
int[][] faces
int numVerts
out LinkedList<SharedFace>[] facesPerVertex 
)
This language is not supported or no code example is available.

Parameters

faces
int[][]

Polygon list definition, dimensions can be [n,3] or [n,4].

numVerts
int

Number of vertices in the mesh

facesPerVertex
LinkedList<SharedFace>[]

An array of linked list of - unique - faces propagating from the same vertex. This is an intermediate result.

Return Value

int[][]

The rectangular array of the resulting - unique - faces. First, second and third indices are the face vertex indices, third and fourth are the parent objects indices. Fourth index can be -1 for faces with only one parent object.

.NET Framework

Supported in: 4.8

In this article

Definition