Drawing3d documented Class Library

Utils.UniformKnots Method

Returns an array of ControlPointCount + Degree + 1 knots, which are uniform. Example: KNOTS={0,1.125,0.25,0.375,0.5,0.625,0.75,0.875,1} for ControlPointCount=5 and Degree =3.

[Visual Basic]
Public Shared Sub UniformKnots( _
   ByVal ControlPointCount As Integer, _
   ByVal Degree As Integer _
)
[C#]
public static double[] UniformKnots(
   int ControlPointCount,
   int Degree
);

Parameters

ControlPointCount
Count of the Controlpoints
Degree
Degree of the spline

Return Value

See Also

Utils Class | Drawing3d.Math Namespace