function getNumberOfKnotsX extends Modelica.Icons.Function; input ApproxSpline.Surf2d.Type s "2-D spline object to operate on"; output Integer nx "number of knots in X-dir"; end getNumberOfKnotsX;