function getNumberOfKnots extends Modelica.Icons.Function; input ApproxSpline.Curve1d.Type s "1-D spline object to operate on"; output Integer n "number of knots"; end getNumberOfKnots;