Package org.locationtech.jtslab.clean
Class HoleRemover
- java.lang.Object
-
- org.locationtech.jtslab.clean.HoleRemover
-
public class HoleRemover extends java.lang.ObjectRemoves holes which match a given predicate.- Author:
- Martin Davis
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHoleRemover.Predicate
-
Constructor Summary
Constructors Constructor Description HoleRemover(org.locationtech.jts.geom.Geometry geom, HoleRemover.Predicate isRemoved)Creates a new hole remover instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.GeometrygetResult()Gets the cleaned geometry.
-
-
-
Constructor Detail
-
HoleRemover
public HoleRemover(org.locationtech.jts.geom.Geometry geom, HoleRemover.Predicate isRemoved)Creates a new hole remover instance.- Parameters:
geom- the geometry to process
-
-