Utility.Compact Method

Removes orphan vertices.
Public Shared Function Compact( _ 
ByVal original As IList(Of Point3D), _ 
ByVal triangles As IList(Of IndexTriangle), _ 
ByRef compacted As Point3D() _ 
) As Integer
This language is not supported or no code example is available.
public static int Compact( 
IList<Point3D> original
IList<IndexTriangle> triangles
out Point3D[] compacted 
)
This language is not supported or no code example is available.

Parameters

original
IList<Point3D>

The list of original vertices

triangles
IList<IndexTriangle>

The list of triangles

compacted
Point3D[]

The list of compacted vertices

Return Value

int

The number of orphan vertices removed.

.NET Framework

Supported in: 4.8

In this article

Definition