SmApiRemoveCurveKnots#

Defined in SM_API/inc/SmApiCurves.h

SmApiStatus SmApiRemoveCurveKnots(SmCurve *pCurve)#

Remove B-spline knots in place using the curve’s effective approximation tolerance. Non-B-spline curve types are unchanged. Returns SM_ERR_INVALID_INPUT for a null curve; propagates knot-removal failures.

Parameters:

pCurve – [in/out]: Curve to simplify