public Geometry Generalize( Geometry geometry, double maxDeviation, bool removeDegenerateParts, bool preserveCurves )
Public Function Generalize( _ ByVal geometry As Geometry, _ ByVal maxDeviation As Double, _ ByVal removeDegenerateParts As Boolean, _ ByVal preserveCurves As 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.