Eyeshot 10 WinForms API Reference
GetOuterIndex<T>(IList<IList<T>>) Method

WinForms Assembly > devDept.Geometry Namespace > Utility Class > GetOuterIndex Method : GetOuterIndex<T>(IList<IList<T>>) Method
The point type
The list of 2D contours
Returns the outer loop index.
Syntax
'Declaration
 
Public Overloads Shared Function GetOuterIndex(Of T As IVertex)( _
   ByVal loops As IList(Of IList(Of T)) _
) As Integer
public static int GetOuterIndex<T>( 
   IList<IList<T>> loops
)
where T: IVertex

Parameters

loops
The list of 2D contours

Type Parameters

T
The point type

Return Value

The outer loop index, -1 if the loops aren't nested.
See Also

Reference

Utility Class
Utility Members
Overload List