Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Utility Class / Compact Method
The list of original vertices
The list of triangles
The list of compacted vertices

In This Topic
    Compact Method
    In This Topic
    Removes orphan vertices.
    Syntax
    'Declaration
     
    Public Shared Function Compact( _
       ByVal original As IList(Of Point3D), _
       ByVal triangles As IList(Of IndexTriangle), _
       ByRef compacted As Point3D() _
    ) As Integer
    public static int Compact( 
       IList<Point3D> original,
       IList<IndexTriangle> triangles,
       out Point3D[] compacted
    )

    Parameters

    original
    The list of original vertices
    triangles
    The list of triangles
    compacted
    The list of compacted vertices

    Return Value

    The number of orphan vertices removed.
    See Also