Creates a trimming loop out of < CurveCount > surface parametric (UV-curves) and adds it to a list of such loops.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ISurface
Dim CurveCount As Integer
Dim Order As Integer
Dim Dim As Integer
Dim Periodic As Integer
Dim NumKnots As Integer
Dim NumCtrlPoints As Integer
Dim Knots As Double
Dim CtrlPointDbls As Double
Dim UvRange As 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