'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.