public Geometry Generalize( Geometrygeometry, doublemaxDeviation, boolremoveDegenerateParts, boolpreserveCurves)

Public Function Generalize( _ ByValgeometryAs Geometry, _ ByValmaxDeviationAs Double, _ ByValremoveDegeneratePartsAs Boolean, _ ByValpreserveCurvesAs Boolean _ ) As Geometry

#### Parameters

*geometry*- The geometry to be generalized.
*maxDeviation*- The maximum distance in meters that the output geometry can deviate from the input geometry.
*removeDegenerateParts*- When true, the degenerate parts of the geometry will be removed from the output.
*preserveCurves*- (Optional) The default value is false.

#### Return Value

The generalized geometry. If the input geometry is empty, then it is returned unchanged.