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

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

    Parameters

    U
    p
    Degree
    n
    Number of control points
    start
    Outputs start clamped status
    end
    Outputs end clamped status
    Remarks
    If the first and last p+1 knots are almost equal, we make them equal to the first or last knot.
    See Also