Applies Douglas-Poiker generalization to the input polylines and polygons.
Generalize(SpatialReference SpatialReference, Geometry[] InGeometryArray, double MaxDeviation, LinearUnit DeviationUnit)
Parameter |
Description |
SpatialReference |
The spatial reference of the input geometries. Must not be null. |
InGeometryArray |
|
MaxDeviation |
The tolerance used to determine if vertices should be preserved in the output. |
DeviationUnit |
The unit of distance used for MaxDeviation. Can be null. |
Return Value
An array of geometries (Geometry[]).
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.