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) | |
---|
Function AddTrimmingLoop2( _
ByVal NCrvs As System.Integer, _
ByVal VOrder As System.Object, _
ByVal VDim As System.Object, _
ByVal VPeriodic As System.Object, _
ByVal VNumKnots As System.Object, _
ByVal VNumCtrlPoints As System.Object, _
ByVal VKnots As System.Object, _
ByVal VCtrlPointDbls As System.Object, _
ByVal UvRange As System.Object _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISurface
Dim NCrvs As System.Integer
Dim VOrder As System.Object
Dim VDim As System.Object
Dim VPeriodic As System.Object
Dim VNumKnots As System.Object
Dim VNumCtrlPoints As System.Object
Dim VKnots As System.Object
Dim VCtrlPointDbls As System.Object
Dim UvRange As System.Object
Dim value As System.Boolean
value = instance.AddTrimmingLoop2(NCrvs, VOrder, VDim, VPeriodic, VNumKnots, VNumCtrlPoints, VKnots, VCtrlPointDbls, UvRange) |
Parameters
- NCrvs
- Number of surface parametric (UV) curves constituting the loop and the size of each of the VOrder, VDim, VPeriodic, VNumKnots, VNumControlPnts arrays
- VOrder
- Array containing NCrvs longs (VBA), Integers (VB.NET), or ints (C#, C++) representing orders of the curves (see Remarks)
- VDim
- Array containing NCrvs longs (VBA), Integers (VB.NET), or ints (C#, C++) representing dimensions (2, 3, or 4) of the control points of the curves (see Remarks)
- VPeriodic
- Array containing NCrvs longs (VBA), Integers (VB.NET), or ints (C#, C++) representing whether the curve is periodic (1) or non-periodic (0) (see Remarks)
- VNumKnots
- Array containing NCrvs longs (VBA), Integers (VB.NET), or ints (C#, C++) representing number of knots on the curves (see Remarks)
- VNumCtrlPoints
- Array containing NCrvs longs (VBA), Integers (VB.NET), or ints (C#, C++) representing number of control points on the curves (see Remarks)
- VKnots
- Knot vector array of <TotalNumKnots> doubles, where TotalNumKnots = (TotalNumKnots + VNumKnots[i]) for i = 1 to NCrvs (see Remarks)
- VCtrlPointDbls
- Control point coordinate array of <TotalNumCPCoords> doubles, where TotalNumCPCoords = (TotalNumCPCoords + (VDim[i] * VNumCtrlPoints[i])) for i = 1 to NCrvs (see Remarks)
- UvRange
- Array of four doubles representing U Low, U High, V Low, and V High (see Remarks)
Return Value
True if successful in adding a trimming loop to the surface, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0