Utility.CleanTriangles (IList<IndexTriangle>, IList<Point3D>, out List<IndexTriangle>, out List<Point3D>) Method

Cleans a triangles list from duplicated vertices.
Public Shared Sub CleanTriangles( _ 
ByVal triangles As IList(Of IndexTriangle), _ 
ByVal vertices As IList(Of Point3D), _ 
ByRef cleanedTriangles As List(Of IndexTriangle), _ 
ByRef uniqueVertices As List(Of Point3D) _ 
)
This language is not supported or no code example is available.
public static void CleanTriangles( 
IList<IndexTriangle> triangles
IList<Point3D> vertices
out List<IndexTriangle> cleanedTriangles
out List<Point3D> uniqueVertices 
)
This language is not supported or no code example is available.

Parameters

triangles
IList<IndexTriangle>

The triangles list

vertices
IList<Point3D>

The vertices list

cleanedTriangles
List<IndexTriangle>

The triangles list without degenerate triangles

uniqueVertices
List<Point3D>

The vertices list without the duplicated vertices

.NET Framework

Supported in: 4.8

In this article

Definition