Package org.locationtech.jtslab.clean
Class HoleRemover
java.lang.Object
org.locationtech.jtslab.clean.HoleRemover
Removes holes which match a given predicate.
- Author:
- Martin Davis
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionHoleRemover
(Geometry geom, HoleRemover.Predicate isRemoved) Creates a new hole remover instance. -
Method Summary
-
Constructor Details
-
HoleRemover
Creates a new hole remover instance.- Parameters:
geom
- the geometry to process
-
-
Method Details
-
getResult
Gets the cleaned geometry.- Returns:
- the geometry with matched holes removed.
-