Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / KnotVectorExtender Class / IsValid Method / IsValid(Double[],Int32,Int32) Method
Degree
Number of control points

In This Topic
    IsValid(Double[],Int32,Int32) Method
    In This Topic
    Checks knot vector for incorrect multiplicity and monotonicity. The knot vector must have p+1 equal knots at the beginning and at the end. (Clamped curve)
    Syntax
    'Declaration
     
    Public Overloads Shared Function IsValid( _
       ByVal U() As Double, _
       ByVal p As Integer, _
       ByVal n As Integer _
    ) As Boolean
    public static bool IsValid( 
       double[] U,
       int p,
       int n
    )

    Parameters

    U
    p
    Degree
    n
    Number of control points

    Return Value

    True if the knot vector is valid, false otherwise.
    See Also