Eyeshot 9.0 WinForms API Reference
CleanTriangles(IList<IndexTriangle>,IList<Point3D>,List<IndexTriangle>,List<Point3D>,Int32[]) Method

WinForms Assembly > devDept.Geometry Namespace > Utility Class > CleanTriangles Method : CleanTriangles(IList<IndexTriangle>,IList<Point3D>,List<IndexTriangle>,List<Point3D>,Int32[]) Method
The triangles list
The vertices list
The triangles list without degenerate triangles
The vertices list without the duplicated vertices
The vertex index conversion map
Cleans the triangles from duplicated vertices.
Syntax
'Declaration
 
Public Overloads 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), _
   ByRef conversionIndices As Integer() _
) 
public static void CleanTriangles( 
   IList<IndexTriangle> triangles,
   IList<Point3D> vertices,
   out List<IndexTriangle> cleanedTriangles,
   out List<Point3D> uniqueVertices,
   out int[] conversionIndices
)

Parameters

triangles
The triangles list
vertices
The vertices list
cleanedTriangles
The triangles list without degenerate triangles
uniqueVertices
The vertices list without the duplicated vertices
conversionIndices
The vertex index conversion map
See Also

Reference

Utility Class
Utility Members
Overload List