com.vividsolutions.jts.simplify
public class TopologyPreservingSimplifier extends java.lang.Object
In particular, if the input is an areal geometry
( Polygon or MultiPolygon ):
DouglasPeuckerSimplifier| Constructor and Description |
|---|
TopologyPreservingSimplifier(Geometry inputGeom) |
| Modifier and Type | Method and Description |
|---|---|
Geometry |
getResultGeometry() |
void |
setDistanceTolerance(double distanceTolerance)
Sets the distance tolerance for the simplification.
|
static Geometry |
simplify(Geometry geom,
double distanceTolerance) |
public TopologyPreservingSimplifier(Geometry inputGeom)
public void setDistanceTolerance(double distanceTolerance)
distanceTolerance - the approximation tolerance to usepublic Geometry getResultGeometry()