Class InvalidHoleRemover
java.lang.Object
org.locationtech.jtslab.clean.InvalidHoleRemover
Removes holes which are invalid due to not being wholly covered by the parent shell.
Notes:
- Does not remove holes which are invalid due to touching other rings at more than one point
- Does not remove holes which are nested inside another hole
- Author:
- Martin Davis
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidHoleRemover(Geometry geom) Creates a new invalid hole remover instance. -
Method Summary
-
Constructor Details
-
InvalidHoleRemover
Creates a new invalid hole remover instance.- Parameters:
geom- the geometry to process
-
-
Method Details
-
clean
-
getResult
Gets the cleaned geometry.- Returns:
- the geometry with invalid holes removed.
-