Eyeshot 10 WinForms API Reference
SmartAdd Method

WinForms Assembly > devDept.Geometry Namespace > UtilityEx Class : SmartAdd Method
The list of curves
When true, the curves are properly sorted and oriented.
Returns a CompositeCurve if the number of curves is bigger than one.
Syntax
'Declaration
 
Public Shared Function SmartAdd( _
   ByVal curveList As IList(Of ICurve), _
   Optional ByVal sortAndOrient As Boolean _
) As ICurve
public static ICurve SmartAdd( 
   IList<ICurve> curveList,
   bool sortAndOrient
)

Parameters

curveList
The list of curves
sortAndOrient
When true, the curves are properly sorted and oriented.

Return Value

The curve itself or a CompositeCurve if the curve number is bigger than one.
See Also

Reference

UtilityEx Class
UtilityEx Members