Class HoleRemover

java.lang.Object
org.locationtech.jtslab.clean.HoleRemover

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

    • HoleRemover

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

    • getResult

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