Creates a trimming loop out of < CurveCount > surface parametric (UV-curves) and adds it to a list of such loops.

# .NET Syntax

Visual Basic (Declaration) | |
---|

Sub IAddTrimmingLoop2( _
ByVal *CurveCount* As System.Integer, _
ByRef *Order* As System.Integer, _
ByRef *Dim* As System.Integer, _
ByRef *Periodic* As System.Integer, _
ByRef *NumKnots* As System.Integer, _
ByRef *NumCtrlPoints* As System.Integer, _
ByRef *Knots* As System.Double, _
ByRef *CtrlPointDbls* As System.Double, _
ByRef *UvRange* As System.Double _
) |

Visual Basic (Usage) | |
---|

Dim instance As ISurface
Dim CurveCount As System.Integer
Dim Order As System.Integer
Dim Dim As System.Integer
Dim Periodic As System.Integer
Dim NumKnots As System.Integer
Dim NumCtrlPoints As System.Integer
Dim Knots As System.Double
Dim CtrlPointDbls As System.Double
Dim UvRange As System.Double
instance.IAddTrimmingLoop2(CurveCount, Order, Dim, Periodic, NumKnots, NumCtrlPoints, Knots, CtrlPointDbls, UvRange) |

#### Parameters

*CurveCount*
Number of surface parametric (UV) curves constituting the loop; it is also directly related (see **Remarks**) to the dimension of each of the arrays Order, Dim, Periodic, NumKnots, NumControlPnts, which must be loaded with the information regarding each of the curves; specifically the dimension of those arrays is ArraySize = CurveCount

*Order*
- Array of <ArraySize> longs (see CurveCount argument)
*Dim*
- Array of <ArraySize> longs (see CurveCount argument); if you set the first value in this array to negative its absolute value, then 3D trim curves are expected
*Periodic*
- Array of <ArraySize> longs (see CurveCount argument)
*NumKnots*
- Array of <ArraySize> longs (see CurveCount argument)
*NumCtrlPoints*
- Array of <ArraySize> longs (see CurveCount argument)
*Knots*
- Array of <TotalNumKnots> doubles, where TotalNumKnots = numKnotsInCurve[i] from i = 1 to CurveCount
*CtrlPointDbls*
- Array of <TotalNumCPCoords> doubles, where TotalNumCPCoords = ( dimensionOfCPinCurve[i] * numControlPntsInCurve[i] ) from i = 1 to CurveCount
*UvRange*
- Array of four doubles defining U Low U High V Low V High

# Remarks

# See Also