【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.17.2.7.1 curve_smooth_adjave
Contents
Description
Smooth the given curve with Adjacent Average
Syntax
bool curve_smooth_adjave( curvebase & cuv, int leftpts )
Parameters
- cuv
- [modify] Curve to be smoothed
- leftpts
- [input] number of points to the left and the right to perform the averaging, 0 = no average
Return
true for success
Examples
EX1
//Before run this example, make sure a curve exists in the active layer. void curve_smooth_adjave_ex1() { curve_smooth_adjave(Project.ActiveCurveBase(), 3); // 7 pts smoothing }
Remark
See Also
Header to Include
origin.h