Eyeshot 11 WPF API Reference
WPF Assembly / devDept.Geometry Namespace / Utility Class / GetEdgesWithoutDuplicates Method / GetEdgesWithoutDuplicates(Int32[,],Int32) Method
Polygon list definition, dimensions can be [n,3] or [n,4].
Number of vertices in the mesh

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

    Parameters

    polygons
    Polygon list definition, dimensions can be [n,3] or [n,4].
    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