Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / KnotVectorExtender Class / Split Method / Split(Double[],Int32,Int32,Int32,Double) Method
Index of the last control point
The parent curve degree
Index of the mid value
The domain range mid value

In This Topic
    Split(Double[],Int32,Int32,Int32,Double) Method
    In This Topic
    Split a knot vector at the center, by adding multiplicity k knots near the middle of the parameter range. Tries to start with an existing knot, but will add a new knot value if there's nothing in "the middle" (e.g. a Bezier curve).
    Syntax
    'Declaration
     
    Public Overloads Shared Function Split( _
       ByVal U() As Double, _
       ByVal m As Integer, _
       ByVal k As Integer, _
       ByRef splitPt As Integer, _
       ByRef midVal As Double _
    ) As Integer
    public static int Split( 
       double[] U,
       int m,
       int k,
       out int splitPt,
       out double midVal
    )

    Parameters

    U
    m
    Index of the last control point
    k
    The parent curve degree
    splitPt
    Index of the mid value
    midVal
    The domain range mid value
    See Also