## 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

true for success

## Examples

EX1

//Before run this example, make sure a curve exists in the active layer.
{
curve_smooth_adjave(Project.ActiveCurveBase(), 3); // 7 pts smoothing
}