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