Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Utility Class / GetEdgesWithoutDuplicates Method / GetEdgesWithoutDuplicates(IList<IndexTriangle>,Int32) Method
Polygon list definition, each row can have independently 3 or 4 indices.
Number of vertices in the mesh

In This Topic
    GetEdgesWithoutDuplicates(IList<IndexTriangle>,Int32) Method
    In This Topic
    Gets a list of edges without duplicates from a mesh of triangles.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetEdgesWithoutDuplicates( _
       ByVal polygons As IList(Of IndexTriangle), _
       ByVal numVerts As Integer _
    ) As Integer(,)
    public static int[,] GetEdgesWithoutDuplicates( 
       IList<IndexTriangle> polygons,
       int numVerts
    )

    Parameters

    polygons
    Polygon list definition, each row can have independently 3 or 4 indices.
    numVerts
    Number of vertices in the mesh

    Return Value

    The rectangular array of the resulting - unique - edges. First and second indices are the edge vertex indices, third and fourth are the parent triangle indices. Fourth index can be -1 for edges with only one parent triangle.
    See Also