Class SmallHoleRemover


  • public class SmallHoleRemover
    extends Object
    Removes holes which are smaller than a given area.
    Author:
    Martin Davis
    • Constructor Detail

      • SmallHoleRemover

        public SmallHoleRemover()
    • Method Detail

      • clean

        public static Geometry clean​(Geometry geom,
                                     double areaTolerance)
        Removes small holes from the polygons in a geometry.
        Parameters:
        geom - the geometry to clean
        Returns:
        the geometry with invalid holes removed