Eyeshot 10 WinForms API Reference
GetEdgesWithoutDuplicates(SilhoTriangle[],Int32,Boolean) Method

WinForms Assembly > devDept.Geometry Namespace > Utility Class > GetEdgesWithoutDuplicates Method : GetEdgesWithoutDuplicates(SilhoTriangle[],Int32,Boolean) Method
Polygon list definition, dimensions can be [n,3] or [n,4].
Number of vertices in the mesh
If true, the edges with just one adjacent triangle are skipped
Gets a list of edges without duplicates from a mesh of triangles or quads.
Syntax
'Declaration
 
Public Overloads Shared Function GetEdgesWithoutDuplicates( _
   ByVal polygons() As SilhoTriangle, _
   ByVal numVerts As Integer, _
   ByVal skipBorderEdges As Boolean _
) As Integer(,)
public static int[,] GetEdgesWithoutDuplicates( 
   SilhoTriangle[] polygons,
   int numVerts,
   bool skipBorderEdges
)

Parameters

polygons
Polygon list definition, dimensions can be [n,3] or [n,4].
numVerts
Number of vertices in the mesh
skipBorderEdges
If true, the edges with just one adjacent triangle are skipped

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

Reference

Utility Class
Utility Members
Overload List