Return the number of control points
function getNumberControlPoints extends Modelica.Icons.Function; input Real r[:, :] "r[i,:] is position vector to point i on the curve"; input Integer degree "degree of the Bspline"; output Integer ncontrol "number of control points"; end getNumberControlPoints;