Class HoleRemover


  • public class HoleRemover
    extends java.lang.Object
    Removes holes which match a given predicate.
    Author:
    Martin Davis
    • Constructor Detail

      • HoleRemover

        public HoleRemover​(Geometry geom,
                           HoleRemover.Predicate isRemoved)
        Creates a new hole remover instance.
        Parameters:
        geom - the geometry to process
    • Method Detail

      • getResult

        public Geometry getResult()
        Gets the cleaned geometry.
        Returns:
        the geometry with matched holes removed.