public class InvalidHoleRemover extends Object
Notes:
| Constructor and Description |
|---|
InvalidHoleRemover(org.locationtech.jts.geom.Geometry geom)
Creates a new invalid hole remover instance.
|
| Modifier and Type | Method and Description |
|---|---|
static org.locationtech.jts.geom.Geometry |
clean(org.locationtech.jts.geom.Geometry geom)
Removes invalid holes from the polygons in a geometry.
|
org.locationtech.jts.geom.Geometry |
getResult()
Gets the cleaned geometry.
|
public InvalidHoleRemover(org.locationtech.jts.geom.Geometry geom)
geom - the geometry to processpublic static org.locationtech.jts.geom.Geometry clean(org.locationtech.jts.geom.Geometry geom)
geom - the geometry to cleanpublic org.locationtech.jts.geom.Geometry getResult()
Copyright © 2022. All rights reserved.