Eyeshot 10 WinForms API Reference
MakeLoop Method

WinForms Assembly > devDept.Eyeshot Namespace > ViewportLayout Class : MakeLoop Method
A list of curves
The first entity to analyze
The chordal error
If true, reverses the loop orientation.
Analyzes a number of entities and returns a closed loop of points starting from the entity at startIndex. You can provide an array of 100 entities an get a 3D loop of a square made up of 4 lines. Entities connection is checked using chordalError parameter, if the end points of two entities are farther of this value they will not be connected.
Syntax
'Declaration
 
Public Shared Function MakeLoop( _
   ByVal curveList As IList(Of ICurve), _
   ByVal startIndex As Integer, _
   ByVal chordalError As Double, _
   ByVal reverse As Boolean _
) As Point3D()
public static Point3D[] MakeLoop( 
   IList<ICurve> curveList,
   int startIndex,
   double chordalError,
   bool reverse
)

Parameters

curveList
A list of curves
startIndex
The first entity to analyze
chordalError
The chordal error
reverse
If true, reverses the loop orientation.

Return Value

The resulting loop of points.
See Also

Reference

ViewportLayout Class
ViewportLayout Members