KnotVectorExtender.Split (Double(), Int32, Int32, out Int32, out Double) Method

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).
Public 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
This language is not supported or no code example is available.
public static int Split( 
this double[] U
int m
int k
out int splitPt
out double midVal 
)
This language is not supported or no code example is available.

Parameters

U
double[]

m
int

Index of the last control point

k
int

The parent curve degree

splitPt
int

Index of the mid value

midVal
double

The domain range mid value

Return Value

int

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition