Class SmallHoleRemover
java.lang.Object
org.locationtech.jtslab.clean.SmallHoleRemover
Removes holes which are smaller than a given area.
- Author:
- Martin Davis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.locationtech.jts.geom.Geometryclean(org.locationtech.jts.geom.Geometry geom, double areaTolerance) Removes small holes from the polygons in a geometry.
-
Constructor Details
-
SmallHoleRemover
public SmallHoleRemover()
-
-
Method Details
-
clean
public static org.locationtech.jts.geom.Geometry clean(org.locationtech.jts.geom.Geometry geom, double areaTolerance) Removes small holes from the polygons in a geometry.- Parameters:
geom- the geometry to clean- Returns:
- the geometry with invalid holes removed
-