Smooth the given curve with Savitsky-Golay method.
bool curve_smooth_sg( curvebase & cuv, int npts, int nDeg = 2 )
true for success
EX1
//Before you run this example, make sure a curve exists in the active layer void curve_smooth_sg_ex1() { curve_smooth_sg(Project.ActiveCurveBase(), 3); // 7 pts smoothing }
origin.h