Creates a trimming loop out of specified 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; the size of Order, Dim, Periodic, NumKnots, and NumControlPnts arrays
- Order
- Orders of the curves; array of CurveCount longs (VBA), Integers (VB.NET), or ints (C#, C++)
- Dim
- Dimensions of the curves' control points; array of CurveCount longs (VBA), Integers (VB.NET), or ints (C#, C++); if you set the first value in this array to negative of its absolute value, then 3D trim curves are expected
- Periodic
- 0 for non-periodic or 1 for periodic; array of CurveCount longs (VBA), Integers (VB.NET), or ints (C#, C++)
- NumKnots
- Number of knots in the curves; array of CurveCount longs (VBA), Integers (VB.NET), or ints (C#, C++)
- NumCtrlPoints
- Number of control points in the curves; array of CurveCount longs (VBA), Integers (VB.NET), or ints (C#, C++)
- Knots
- Knot vectors of the curves; array of <TotalNumKnots> doubles, where TotalNumKnots = (TotalNumKnots + NumKnots[i]) for i = 1 to CurveCount
- CtrlPointDbls
- Control point coordinates of the curves; array of <TotalNumCPCoords> doubles, where TotalNumCPCoords = (TotalNumCPCoords + (Dim[i] * NumCtrlPoints[i])) for i = 1 to CurveCount
- UvRange
- Array of four doubles defining U Low U High V Low V High
Remarks
See Also