ArcObjects Library Reference (Geometry)  

IGeometryServer2.Generalize Method

Returns generalized (Douglas-Poiker) versions of the input polylines and polygons (uses IPolycurve::Generalize).

[Visual Basic .NET]
Public Function Generalize ( _
    ByVal pSR As ISpatialReference, _
    ByVal pInGA As IGeometryArray, _
    ByVal maxDeviation As Double, _
    ByVal pDeviationUnit As ILinearUnit _
) As IGeometryArray
[C#]
public IGeometryArray Generalize (
    ISpatialReference pSR,
    IGeometryArray pInGA,
    double maxDeviation,
    ILinearUnit pDeviationUnit
);
[C++]
HRESULT Generalize(
  ISpatialReference* pSR,
  IGeometryArray* pInGA,
  double maxDeviation,
  ILinearUnit* pDeviationUnit,
  IGeometryArray** ppGeneralizedGA
);
[C++]

Parameters

pSR

  pSR is a parameter of type ISpatialReference

pInGA

  pInGA is a parameter of type IGeometryArray

maxDeviation   maxDeviation is a parameter of type double pDeviationUnit

  pDeviationUnit is a parameter of type ILinearUnit

ppGeneralizedGA [out, retval]

  ppGeneralizedGA is a parameter of type IGeometryArray

Product Availability

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

Remarks

The Generalize operation applies Douglas-poiker line generalization to each element of the input array. The results are placed in corresponding indexes of the output array. If DeviationUnit is specified, then MaxDeviation is expressed in those units, otherwise it is expressed in the units of the spatial reference.

See Also

IGeometryServer2 Interface