This document is archived and information here might be outdated.  Recommended version.

IPolycurve.Generalize Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPolycurve Interface > IPolycurve.Generalize Method
ArcGIS Developer Help

IPolycurve.Generalize Method

Generalizes this polycurve using the Douglas-Peucker algorithm.

[Visual Basic .NET]
Public Sub Generalize ( _
    ByVal maxAllowableOffset As Double _
public void Generalize (
    double maxAllowableOffset
HRESULT Generalize(
  double maxAllowableOffset

maxAllowableOffset is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Generalizes each part of a Polycurve into a generalized collection of Line segments.  Generalize performs a Douglas-Peucker Generalization algorithm with a specified maximum offset tolerance given as input.  For Line segments, the generalized output is a subset of the original input vertices.  For non-linear segments, the generalized output contains points along all parts of the curve, not necessarily only the vertices.


For polycurve with non-linear segments, the output curve may contain more vertices than the input curve, but all output segments will be linear.

See Also

IPolycurve Interface