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

In This Topic
    IsClamped(Double[],Int32,Int32) Method
    In This Topic
    Checks if the knot vector is clamped.
    Syntax
    'Declaration
     
    Public Overloads Shared Function IsClamped( _
       ByVal U() As Double, _
       ByVal p As Integer, _
       ByVal n As Integer _
    ) As Boolean
    public static bool IsClamped( 
       double[] U,
       int p,
       int n
    )

    Parameters

    U
    p
    Degree
    n
    Number of control points

    Return Value

    True if the know vector is clamped, false otherwise.
    Remarks
    If the first and last p+1 knots are almost equal, we make them equal to the first or last knot.
    See Also