public static Geometry simplify ( Geometry geometry , double distance ) { if ( geometry == null ) { return null ; } return DouglasPeuckerSimplifier . simplify ( geometry , distance ) ; }
Simplify the geometry using the douglad peucker algorithm .