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
pSRpSR is a parameter of type ISpatialReference
pInGApInGA is a parameter of type IGeometryArray
maxDeviation maxDeviation is a parameter of type double pDeviationUnitpDeviationUnit 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.