ArcGIS Enterprise SDK
IPolycurve.Smooth Method
ArcGIS Developer Help

IPolycurve.Smooth Method

Converts this curve into a smooth curve containing only Bezier curve segments.

[Visual Basic .NET]
Public Sub Smooth ( _
    ByVal maxAllowableOffset As Double _
)
[C#]
public void Smooth (
    double maxAllowableOffset
);

Description

Converts the Polycurve into a Polycurve containing only BezierCurve segments. If the maxAllowableOffset parameter is zero, each segment of the input Polycurve becomes a separate Bezier curve. If maxAllowableOffset if greater than zero, the polycurve is generalized first by the Douglas-Poiker method using the maxAllowableOffset value. Bezier curves are then created for each of the remaining segments. The created BezierCurve polycurve is an approximation of the original polycurve. At each vertex, the adjoining BezierCurves have complementary tangents which creates a continuous (smooth) transition between segments.

As an alternative, compare IConstructCurve2::ApproximateByBeziers.

Remarks

 

IPolycurve Smooth Example

See Also

IPolycurve Interface